Enum amethyst_animation::MaterialPrimitive[][src]

pub enum MaterialPrimitive {
    Texture(usize),
    Offset((f32, f32)(f32, f32)),
}

Sampler primitive for Material animations Note that material can only ever be animated with Step, or a panic will occur.

Variants

Trait Implementations

impl Debug for MaterialPrimitive
[src]

Formats the value using the given formatter. Read more

impl Clone for MaterialPrimitive
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MaterialPrimitive
[src]

impl InterpolationPrimitive for MaterialPrimitive
[src]

impl From<Sprite> for MaterialPrimitive
[src]

Performs the conversion.

impl<'a> From<&'a Sprite> for MaterialPrimitive
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for MaterialPrimitive

impl Sync for MaterialPrimitive