Visual3D
struct · ferroui-media3d · v0.5.0
struct Visual3D
WPF's Visual3D: the base of the 3D visuals, with a Transform.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<Visual3D>
Returns a strong reference to this object.
transform_property
fn transform_property() -> &'static StyledProperty<Option<Ref<Transform3D>>>
construct
fn construct() -> Self
Creates the class data; see FerroObject::construct.
transform
fn transform(self: &Self) -> Option<Ref<Transform3D>>
The transform of the visual; none is the identity.
set_transform
fn set_transform(self: &Self, value: Option<Ref<Transform3D>>)
changed
fn changed(self: &Self, handler: impl Fn(Scene3DChange) -> () + 'static) -> Subscription
Calls handler on every change of the visual or of what it shows, until the returned
guard is dropped.
descendant_bounds
fn descendant_bounds(self: &Self) -> Rect3D
The bounds of what the visual and its descendants show, in the coordinates of its parent
(its transform applied); WPF's VisualTreeHelper.GetDescendantBounds with the content.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<Visual3D>StaticTypeObjectTypeSubclassable<T>FerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.