Struct amethyst_animation::SamplerInterpolationSystem[][src]

pub struct SamplerInterpolationSystem<T> where
    T: AnimationSampling
{ /* fields omitted */ }

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 target component for the entity they belong to.

Type parameters:

  • T: the component type that the animation should be applied to

Methods

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

Trait Implementations

impl<T: Default> Default for SamplerInterpolationSystem<T> where
    T: AnimationSampling,
    T::Channel: Default,
    T::Primitive: Default
[src]

Returns the "default value" for a type. Read more

impl<'a, T> System<'a> for SamplerInterpolationSystem<T> where
    T: AnimationSampling + Component, 
[src]

The resource bundle required to execute this system. Read more

Executes the system with the required system data. Read more

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

Return the accessor from the [SystemData].

Sets up the Resources using Self::SystemData::setup.

Auto Trait Implementations

impl<T> Send for SamplerInterpolationSystem<T> where
    <T as AnimationSampling>::Channel: Send,
    <T as AnimationSampling>::Primitive: Send

impl<T> Sync for SamplerInterpolationSystem<T> where
    <T as AnimationSampling>::Channel: Sync,
    <T as AnimationSampling>::Primitive: Sync