Struct amethyst_animation::Animation [] [src]

pub struct Animation {
    pub nodes: Vec<(usize, Handle<Sampler>)>,
}

Defines a single animation. Defines relationships between the node index in AnimationHierarchy and a Sampler handle. If the animation only targets a single node index, AnimationHierarchy is not required.

Fields

node index -> sampler handle

Trait Implementations

impl Clone for Animation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Animation
[src]

[src]

Formats the value using the given formatter.

impl Asset for Animation
[src]

The Data type the asset can be created from.

The ECS storage type to be used. You'll want to use VecStorage in most cases.

impl Into<Result<Animation>> for Animation
[src]

[src]

Performs the conversion.