Struct collada::Animation [-] [+] [src]

pub struct Animation {
    pub target: String,
    pub sample_times: Vec<f32>,
    pub sample_poses: Vec<Matrix4<f32>>,

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.



The node (joint) this animation is targeting


Times for each sample (in seconds)


Node pose transforms for each sample. Column-major.

Trait Implementations

Derived Implementations

impl Debug for Animation

fn fmt(&self, __arg_0: &mut Formatter) -> Result