[−][src]Struct collada::Animation
A COLLADA animation consists of mapping of sample times to pose transforms for a single node in the scene (usually a skeleton joint)
Note - COLLADA supports animating arbitrary 'outputs', not just pose transforms, (eg colors, texture offsets, etc), but we'll leave those unsupported for now.
Fields
target: String
The node (joint) this animation is targeting
sample_times: Vec<f32>
Times for each sample (in seconds)
sample_poses: Vec<Matrix4<f32>>
Node pose transforms for each sample. Column-major.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,