Struct amethyst_animation::AnimationControlSystem
[−]
[src]
pub struct AnimationControlSystem;
System for setting up animations, should run before SamplerInterpolationSystem
.
Will process all active AnimationControl
+ AnimationHierarchy
, and do processing of the
animations they describe. If an animation only targets a single node/entity, there is no need
for AnimationHierarchy
.
Methods
impl AnimationControlSystem
[src]
Trait Implementations
impl Default for AnimationControlSystem
[src]
fn default() -> AnimationControlSystem
[src]
Returns the "default value" for a type. Read more
impl<'a> System<'a> for AnimationControlSystem
[src]
type SystemData = (Entities<'a>, Fetch<'a, AssetStorage<Animation>>, Fetch<'a, AssetStorage<Sampler>>, WriteStorage<'a, AnimationControl>, WriteStorage<'a, SamplerControlSet>, ReadStorage<'a, AnimationHierarchy>, ReadStorage<'a, LocalTransform>)
The resource bundle required to execute this system. Read more
fn run(&mut self, data: Self::SystemData)
[src]
Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more