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
nodes: Vec<(usize, Handle<Sampler>)>
node index -> sampler handle
Trait Implementations
impl Clone for Animation
[src]
fn clone(&self) -> Animation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Animation
[src]
impl Asset for Animation
[src]
type Data = Self
The Data
type the asset can be created from.
type HandleStorage = VecStorage<Handle<Self>>
The ECS storage type to be used. You'll want to use VecStorage
in most cases.