Struct amethyst_animation::SamplingBundle[][src]

pub struct SamplingBundle<'a, T> { /* fields omitted */ }

Bundle for only the sampler interpolation.

Will add SamplerInterpolationSystem<T> with the given name. Will also add SamplerProcessor<T::Primitive>.

Type parameters:

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

Methods

impl<'a, T> SamplingBundle<'a, T>
[src]

Create a new sampling bundle

Parameters:

  • name: name of the SamplerInterpolationSystem

Set dependencies for the SamplerInterpolationSystem

Trait Implementations

impl<'a, T: Default> Default for SamplingBundle<'a, T>
[src]

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

impl<'a, 'b, 'c, T> SystemBundle<'a, 'b> for SamplingBundle<'c, T> where
    T: AnimationSampling + Component, 
[src]

Build and add ECS resources, register components, add systems etc to the Application.

Auto Trait Implementations

impl<'a, T> Send for SamplingBundle<'a, T> where
    T: Send

impl<'a, T> Sync for SamplingBundle<'a, T> where
    T: Sync