Function amethyst_animation::get_animation_set[][src]

pub fn get_animation_set<'a, I, T>(
    controls: &'a mut WriteStorage<AnimationControlSet<I, T>>,
    entity: Entity
) -> &'a mut AnimationControlSet<I, T> where
    I: Send + Sync + 'static,
    T: AnimationSampling

Get the animation set for an entity. If none exists, one will be added.

Type parameters: