FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TranslateTransform3D

    struct · ferroui-media3d · v0.5.0

    struct TranslateTransform3D
    

    WPF's TranslateTransform3D: a translation by OffsetX, OffsetY and OffsetZ.

    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<TranslateTransform3D>
    

    Returns a strong reference to this object.

    Source

    offset_x_property

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

    Source

    offset_y_property

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

    Source

    offset_z_property

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

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> Ref<Self>
    

    A translation by nothing.

    Source

    with_offset

    fn with_offset(offset: Vector3D) -> Ref<Self>
    

    A translation by offset.

    Source

    with_offset_xyz

    fn with_offset_xyz(offset_x: f64, offset_y: f64, offset_z: f64) -> Ref<Self>
    

    A translation by the three offsets.

    Source

    offset_x

    fn offset_x(self: &Self) -> f64
    

    The translation along the x axis.

    Source

    set_offset_x

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

    Source

    offset_y

    fn offset_y(self: &Self) -> f64
    

    The translation along the y axis.

    Source

    set_offset_y

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

    Source

    offset_z

    fn offset_z(self: &Self) -> f64
    

    The translation along the z axis.

    Source

    set_offset_z

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

    Source

    Trait implementations

    Availability

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