AxisAngleRotation3D
struct · ferroui-media3d · v0.5.0
struct AxisAngleRotation3D
WPF's AxisAngleRotation3D: a rotation by Angle degrees about Axis, counterclockwise
when the axis points at the viewer. An axis of (nearly) zero length is no rotation.
Members
TYPEto_refaxis_propertyangle_propertyconstructnewwith_axis_angleaxisset_axisangleset_angle
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<AxisAngleRotation3D>
Returns a strong reference to this object.
axis_property
fn axis_property() -> &'static StyledProperty<Vector3D>
angle_property
fn angle_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
A rotation by 0 degrees about the y axis.
with_axis_angle
fn with_axis_angle(axis: Vector3D, angle: f64) -> Ref<Self>
A rotation by angle degrees about axis.
axis
fn axis(self: &Self) -> Vector3D
The axis of the rotation.
set_axis
fn set_axis(self: &Self, value: Vector3D)
angle
fn angle(self: &Self) -> f64
The angle of the rotation, in degrees.
set_angle
fn set_angle(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeRotation3DImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<AxisAngleRotation3D>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplRotation3DImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.