Struct opengex::structure::Animation [] [src]

pub struct Animation {
    pub clip: u32,
    pub begin: Option<f32>,
    pub end: Option<f32>,
    pub tracks: Vec<Track>,
}

The Animation structure contains animation data for a single node in a scene. Each animation structure is directly contained inside a node structure or Texture structure. Each animation structure contains the data needed to modify its sibling Transformation structures or sibling MorphWeight structures over time.

More detailed information can be found in the official OpenGEX specification.

Fields

Specifies the animation clip index.

Specifies when the animation begins. If the property is not specifies, the begin time for the animation is determined by the earliest time values present in the Track structures belonging to this Animation.

Specifies when the animation ends. Like with the begin property, if the property is not specified, the end time for the animation is determined by the latest time values present in the Track structures belonging to this Animation.

One or more tracks that each hold animation keys for a single target.