Struct amethyst_animation::SamplerInterpolationSystem
[−]
[src]
pub struct SamplerInterpolationSystem;
System for interpolating active samplers.
If other forms of animation is needed, this can be used in isolation, have no direct dependency
on AnimationControlSystem
.
Will process all active SamplerControlSet
, and update the LocalTransform
for the entity they
belong to.
Methods
impl SamplerInterpolationSystem
[src]
Trait Implementations
impl Default for SamplerInterpolationSystem
[src]
fn default() -> SamplerInterpolationSystem
[src]
Returns the "default value" for a type. Read more
impl<'a> System<'a> for SamplerInterpolationSystem
[src]
type SystemData = (Fetch<'a, Time>, Fetch<'a, AssetStorage<Sampler>>, WriteStorage<'a, SamplerControlSet>, WriteStorage<'a, LocalTransform>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (time, samplers, controls, transforms): 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