Struct amethyst_animation::SamplerControlSet[][src]

pub struct SamplerControlSet<T> where
    T: AnimationSampling
{ pub samplers: Vec<SamplerControl<T>>, }

Sampler control set, containing a set of sampler controllers for a single component.

Have support for multiple samplers per channel, will do linear blending between all active samplers. The target component specifies if it can be blended, if it can't, the last added sampler wins.

Type parameters:

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

Fields

Methods

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

Set channel control

Clear sampler controls for the given animation

Check if set is empty

Abort control set

Pause control set

Unpause control set

Update rate multiplier

Forcibly set the input value (point of interpolation)

Check if a control set can be terminated

Step animation

Set blend weight for a sampler

Get the max running duration of the control set

Trait Implementations

impl<T: Clone> Clone for SamplerControlSet<T> where
    T: AnimationSampling
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Default for SamplerControlSet<T> where
    T: AnimationSampling
[src]

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

impl<T> Component for SamplerControlSet<T> where
    T: AnimationSampling
[src]

Associated storage type for this component.

Auto Trait Implementations

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

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