FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<RotateTransform3D>
    

    Returns a strong reference to this object.

    Source

    rotation_property

    fn rotation_property() -> &'static StyledProperty<Option<Ref<Rotation3D>>>
    

    Source

    center_x_property

    fn center_x_property() -> &'static StyledProperty<f64>
    

    Source

    center_y_property

    fn center_y_property() -> &'static StyledProperty<f64>
    

    Source

    center_z_property

    fn center_z_property() -> &'static StyledProperty<f64>
    

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> Ref<Self>
    

    A transform without a rotation.

    Source

    with_rotation

    fn with_rotation(rotation: Ref<Rotation3D>) -> Ref<Self>
    

    The rotation about the origin.

    Source

    with_rotation_and_center

    fn with_rotation_and_center(rotation: Ref<Rotation3D>, center: Point3D) -> Ref<Self>
    

    The rotation about center.

    Source

    rotation

    fn rotation(self: &Self) -> Option<Ref<Rotation3D>>
    

    The rotation.

    Source

    set_rotation

    fn set_rotation(self: &Self, value: Option<Ref<Rotation3D>>)
    

    Source

    center_x

    fn center_x(self: &Self) -> f64
    

    The x coordinate of the center of the rotation.

    Source

    set_center_x

    fn set_center_x(self: &Self, value: f64)
    

    Source

    center_y

    fn center_y(self: &Self) -> f64
    

    The y coordinate of the center of the rotation.

    Source

    set_center_y

    fn set_center_y(self: &Self, value: f64)
    

    Source

    center_z

    fn center_z(self: &Self) -> f64
    

    The z coordinate of the center of the rotation.

    Source

    set_center_z

    fn set_center_z(self: &Self, value: f64)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.