PointLight
struct · ferroui-media3d · v0.5.0
struct PointLight
WPF's PointLight: light in every direction from Position.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<PointLight>
Returns a strong reference to this object.
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
A white light at the origin.
with_color_and_position
fn with_color_and_position(color: Color, position: Point3D) -> Ref<Self>
A light of color at position.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeModel3DImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<PointLight>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplModel3DImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.