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]
impl<'a, T> SamplingBundle<'a, T>pub fn new(name: &'a str) -> Self[src]
pub fn new(name: &'a str) -> Selfpub fn with_dep(self, dep: &'a [&'a str]) -> Self[src]
pub fn with_dep(self, dep: &'a [&'a str]) -> SelfSet dependencies for the SamplerInterpolationSystem
Trait Implementations
impl<'a, T: Default> Default for SamplingBundle<'a, T>[src]
impl<'a, T: Default> Default for SamplingBundle<'a, T>fn default() -> SamplingBundle<'a, T>[src]
fn default() -> SamplingBundle<'a, T>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]
impl<'a, 'b, 'c, T> SystemBundle<'a, 'b> for SamplingBundle<'c, T> where
T: AnimationSampling + Component, Auto Trait Implementations
impl<'a, T> Send for SamplingBundle<'a, T> where
T: Send,
impl<'a, T> Send for SamplingBundle<'a, T> where
T: Send, impl<'a, T> Sync for SamplingBundle<'a, T> where
T: Sync,
impl<'a, T> Sync for SamplingBundle<'a, T> where
T: Sync,