Enum amethyst_animation::MaterialPrimitive[][src]

pub enum MaterialPrimitive {
    Texture(u64),
    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 PartialEq for MaterialPrimitive
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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