[][src]Struct mutiny::transformation::Transformation

pub struct Transformation {
    pub node: Node,
    pub parent_bone: Option<String>,
    pub is_bone: bool,
    // some fields omitted
}

Fields

Methods

impl Transformation
[src]

Trait Implementations

impl Default for Transformation
[src]

impl<'a> From<&'a Transformations> for Transformation
[src]

impl<'a> From<&'a Bone> for Transformation
[src]

impl Clone for Transformation
[src]

Performs copy-assignment from source. Read more

impl Debug for Transformation
[src]

impl Component for Transformation
[src]

impl DebugParameter for Transformation
[src]

impl Serialize for Transformation
[src]

impl<'de> Deserialize<'de> for Transformation
[src]

impl NodeRef for Transformation
[src]

Returns the local position of this node

Returns the orientation of this node as a quaternion which is how it's stored internally Read more

Returns the orientation of this node as a Rotation3. Read more

Returns the current local scale

The node orientation x axis

The node orientation y axis

The node orientation z axis

Local transformation matrix

Global transformation matrix

Global position of this node

Global orientation of this node

Global scale of this node

Inverse local transformation of this node Read more

Inverse global transformation of this node Read more

impl NodeMut for Transformation
[src]

Updates the internal matrices including the glonal matrices using the optional parent passed as argument Read more

Changes the orientation of the node to look at the passed position using the up vector

Rotate this note a certain angle around the axis of rotation

Append the passed quaternion to the current local orientation

rotate this node around it's local x axis

rotate this node around it's local y axis

rotate this node around it's local z axis

Sets the local scale

Append a translation to the current local position

Sets the local position of this node

Sets the orientation for this node from an angle and axis of rotation

Sets the orientation for this node from a quaternion

Auto Trait Implementations

impl Send for Transformation

impl Sync for Transformation

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<C> ComponentSend for C where
    C: Component + Send
[src]

impl<C> ComponentThreadLocal for C where
    C: Component
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<B, P> IntoControlBuilder for P where
    B: BuilderFromProperty<P>, 
[src]

impl<T, U> IntoDuration for T where
    U: FromDuration<T>, 
[src]