ModelVisual3D
struct · ferroui-media3d · v0.5.0
struct ModelVisual3D
WPF's ModelVisual3D: shows the model of its Content and its Children.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ModelVisual3D>
Returns a strong reference to this object.
content_property
fn content_property() -> &'static StyledProperty<Option<Ref<Model3D>>>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
A visual without content or children.
with_content
fn with_content(content: Ref<Model3D>) -> Ref<Self>
A visual showing content.
content
fn content(self: &Self) -> Option<Ref<Model3D>>
The model the visual shows.
set_content
fn set_content(self: &Self, value: Option<Ref<Model3D>>)
children
fn children(self: &Self) -> Visual3DCollection
The child visuals (a shared handle to the collection).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<ModelVisual3D>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.