Struct amethyst_animation::AnimationHierarchy[][src]

pub struct AnimationHierarchy<T> {
    pub nodes: FnvHashMap<usize, Entity>,
    // some fields omitted
}

Defines the hierarchy of nodes that a single animation can control. Attached to the root entity that an animation can be defined for. Only required for animations which target more than a single node or entity.

Fields

Methods

impl<T> AnimationHierarchy<T> where
    T: AnimationSampling
[src]

Create a new hierarchy

Create a new hierarchy containing a single given entity

Create a new hierarchy with the given entity map

Create rest state for the hierarchy. Will copy the values from the base components for each entity in the hierarchy.

Trait Implementations

impl<T: Debug> Debug for AnimationHierarchy<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for AnimationHierarchy<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Component for AnimationHierarchy<T> where
    T: AnimationSampling
[src]

Associated storage type for this component.

Auto Trait Implementations

impl<T> Send for AnimationHierarchy<T> where
    T: Send

impl<T> Sync for AnimationHierarchy<T> where
    T: Sync