EmissiveMaterial
struct · ferroui-media3d · v0.5.0
struct EmissiveMaterial
WPF's EmissiveMaterial: its Brush, filtered by Color, added without light.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<EmissiveMaterial>
Returns a strong reference to this object.
color_property
fn color_property() -> &'static StyledProperty<Color>
brush_property
fn brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
A material without a brush.
with_brush
fn with_brush(brush: Option<Rc<dyn IBrush>>) -> Ref<Self>
A material of brush.
color
fn color(self: &Self) -> Color
The colour that filters the brush (white by default).
set_color
fn set_color(self: &Self, value: Color)
brush
fn brush(self: &Self) -> Option<Rc<dyn IBrush>>
The brush.
set_brush
fn set_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<EmissiveMaterial>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.