A sequence of skeletal pose samples at some sample rate
The sequence of skeletal poses
Sample rate for the clip. Assumes a constant sample rate.
Overrides the sampling rate of the clip to give the given duration (in seconds).
Return the duration of the clip in seconds
Obtains the interpolated skeletal pose at the given sampling time.
time
- The time to sample with, relative to the start of the animation
blended_poses
- The output array slice of joint transforms that will be populated
for each joint in the skeleton.
Create a difference clip from a source and reference clip for additive blending.
Creates an AnimationClip
from a collection of collada::Animation
.
skeleton
- The Skeleton
that the AnimationClip
will be created for.
animations
- The collection of collada::Animation
s that will be converted into an
AnimationClip
, using the given Skeleton
.
transform
- An offset transform to apply to the root pose of each animation sample,
useful for applying rotation, translation, or scaling when loading an
animation.
Formats the value using the given formatter. 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
)
Immutably borrows from an owned value. Read more
Mutably 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
)
🔬 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
.