pub struct AnimationController<T: Transform> { /* fields omitted */ }
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.
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
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
impl<T> SetParameter for T | |
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where T: Parameter<Self>, | |
Sets value
as a parameter of self
.