RotateTransform3D
struct · ferroui-media3d · v0.5.0
struct RotateTransform3D
WPF's RotateTransform3D: the rotation of its Rotation about the center (CenterX,
CenterY, CenterZ). Without a rotation it is the identity.
Members
TYPEto_refrotation_propertycenter_x_propertycenter_y_propertycenter_z_propertyconstructnewwith_rotationwith_rotation_and_centerrotationset_rotationcenter_xset_center_xcenter_yset_center_ycenter_zset_center_z
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<RotateTransform3D>
Returns a strong reference to this object.
rotation_property
fn rotation_property() -> &'static StyledProperty<Option<Ref<Rotation3D>>>
center_x_property
fn center_x_property() -> &'static StyledProperty<f64>
center_y_property
fn center_y_property() -> &'static StyledProperty<f64>
center_z_property
fn center_z_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
A transform without a rotation.
with_rotation
fn with_rotation(rotation: Ref<Rotation3D>) -> Ref<Self>
The rotation about the origin.
with_rotation_and_center
fn with_rotation_and_center(rotation: Ref<Rotation3D>, center: Point3D) -> Ref<Self>
The rotation about center.
rotation
fn rotation(self: &Self) -> Option<Ref<Rotation3D>>
The rotation.
set_rotation
fn set_rotation(self: &Self, value: Option<Ref<Rotation3D>>)
center_x
fn center_x(self: &Self) -> f64
The x coordinate of the center of the rotation.
set_center_x
fn set_center_x(self: &Self, value: f64)
center_y
fn center_y(self: &Self) -> f64
The y coordinate of the center of the rotation.
set_center_y
fn set_center_y(self: &Self, value: f64)
center_z
fn center_z(self: &Self) -> f64
The z coordinate of the center of the rotation.
set_center_z
fn set_center_z(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTransform3DImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<RotateTransform3D>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplTransform3DImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.