pub struct AnimationController<T: Transform> { /* private fields */ }
Expand description

A runtime representation of an Animation State Machine, consisting of one or more AnimationStates connected by AnimationTransitions, where the output animation pose depends on the current state or any active transitions between states.

Implementations

Create an AnimationController instance from its definition, the desired skeleton, and a collection of currently loaded animation clips.

Update the controller’s local clock with the given time delta

Set the playback speed for the controller

Set the value for the given controller parameter

Return the value for the given controller parameter

Return a read-only reference to the controller parameter map

Calculate global skeletal joint poses for the given time since last update

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.