Enum opengex::structure::Time [] [src]

pub enum Time {
    Linear(Vec<f32>),
    Bezier(Vec<(f32, f32, f32)>),
}

The Time structure contains key time data in an animation track.

There are two different kinds of this structure; one for every curve kind.

The variants in this enum contain vectors. One vector item represents on key time.

Variants

The times are interpolated linearly.

The times are interpolated on a one-dimensional Bezier curve.

The times in each tuple in the vector are the "value", "-control" and "+control" values of the Bezier curve respectively.