[][src]Struct amethyst_animation::SamplerInterpolationSystem

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:


impl<T> SamplerInterpolationSystem<T> where
    T: AnimationSampling

pub fn new() -> Self[src]

Creates a new SamplerInterpolationSystem

Trait Implementations

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

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

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

type SystemData = (Read<'a, Time>, Read<'a, AssetStorage<Sampler<T::Primitive>>>, WriteStorage<'a, SamplerControlSet<T>>, WriteStorage<'a, T>, <T as ApplyData<'a>>::ApplyData)

The resource bundle required to execute this system. Read more

Auto Trait Implementations

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

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

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

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

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Resource for T where
    T: Any + Send + Sync

impl<'a, T> RunNow<'a> for T where
    T: System<'a>, 

impl<'a, T> RunWithPool<'a> for T where
    T: System<'a>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> Supports<T> for T

impl<'s, S> SystemExt for S where
    S: System<'s>, 

impl<T> TryDefault for T where
    T: Default

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,