pub struct SceneAmbientLight {
pub color: Color,
pub intensity: f64,
}Expand description
Resolved ambient light for one logical canvas layer.
Fields§
§color: ColorAmbient color.
intensity: f64Ambient intensity.
Trait Implementations§
Source§impl Clone for SceneAmbientLight
impl Clone for SceneAmbientLight
Source§impl Debug for SceneAmbientLight
impl Debug for SceneAmbientLight
Source§impl Default for SceneAmbientLight
impl Default for SceneAmbientLight
Source§impl<'de> Deserialize<'de> for SceneAmbientLight
impl<'de> Deserialize<'de> for SceneAmbientLight
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl HelperFunctions for SceneAmbientLight
impl HelperFunctions for SceneAmbientLight
Source§fn register_all_functions()
fn register_all_functions()
Registers all helper functions for this type.
Source§impl Interpolatable for SceneAmbientLight
impl Interpolatable for SceneAmbientLight
Source§fn interpolate(&self, other: &Self, t: f64) -> Self
fn interpolate(&self, other: &Self, t: f64) -> Self
Source§impl PartialEq for SceneAmbientLight
impl PartialEq for SceneAmbientLight
Source§impl Serialize for SceneAmbientLight
impl Serialize for SceneAmbientLight
impl StructuralPartialEq for SceneAmbientLight
Source§impl ToPaxValue for SceneAmbientLight
impl ToPaxValue for SceneAmbientLight
Source§fn to_pax_value(self) -> PaxValue
fn to_pax_value(self) -> PaxValue
Converts this value into a
PaxValue.Source§fn nested_properties(&self) -> Vec<UntypedProperty>
fn nested_properties(&self) -> Vec<UntypedProperty>
Live properties read when snapshotting a compound value for PAXEL.
Adapters observe these as well as the containing property.
Source§fn to_pax_value_in_graph(self) -> PaxValuewhere
Self: Sized,
fn to_pax_value_in_graph(self) -> PaxValuewhere
Self: Sized,
Converts against owner-thread graph views, including nested generated
property fields. Requires an entered property graph for shared fields.
Ordinary
Self::to_pax_value reads published value snapshots.Auto Trait Implementations§
impl Freeze for SceneAmbientLight
impl RefUnwindSafe for SceneAmbientLight
impl Send for SceneAmbientLight
impl Sync for SceneAmbientLight
impl Unpin for SceneAmbientLight
impl UnsafeUnpin for SceneAmbientLight
impl UnwindSafe for SceneAmbientLight
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> PropertyValue for T
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.