[][src]Struct mutiny::transformation::PreviousTransformation

pub struct PreviousTransformation(pub Node);

Methods

impl PreviousTransformation
[src]

Methods from Deref<Target = Node>

Clones this node but applies a preparent transformation

Allows to parent this node with it's current position, orientation and scale as absolute instead of relative to the parent.

Sets the local position of this node

Returns the local position of this node

Returns the initial parent inverse transformation if there's one

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

Sets the orientation for this node from a quaternion

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

Returns the orientation of this node as a Rotation3.

This method converts the internal quaternion into a Rotation3

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

Changes the orientation of the node to look at the passed node global 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

Append a translation to the current local position

Returns the current local scale

Sets the local scale

The node orientation x axis

The node orientation y axis

The node orientation z axis

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

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

This is cacheed internally and uses the fastest version posible to calculate the inverse so it's usually faster than calling local_transformation().try_inverse()

Inverse global transformation of this node

This is cacheed internally and uses the fastest version posible to calculate the inverse so it's usually faster than calling global_transformation().try_inverse()

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

Updates the internal matrices including the glonal matrices using the optional parent passed as argument and flags

Trait Implementations

impl Default for PreviousTransformation
[src]

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

impl Clone for PreviousTransformation
[src]

Performs copy-assignment from source. Read more

impl Debug for PreviousTransformation
[src]

impl Deref for PreviousTransformation
[src]

The resulting type after dereferencing.

impl DerefMut for PreviousTransformation
[src]

impl Component for PreviousTransformation
[src]

impl<'a> DebugParameter for PreviousTransformation
[src]

impl Serialize for PreviousTransformation
[src]

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

Auto Trait Implementations

impl Send for PreviousTransformation

impl Sync for PreviousTransformation

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]