Light
struct · ferroui-media3d · v0.5.0
struct Light
WPF's Light: the base of the lights, with a Color (white by default).
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<Light>
Returns a strong reference to this object.
color_property
fn color_property() -> &'static StyledProperty<Color>
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
color
fn color(self: &Self) -> Color
The colour of the light.
set_color
fn set_color(self: &Self, value: Color)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeModel3DImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<Light>StaticTypeObjectTypeSubclassable<T>FerroObjectImplModel3DImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.