Enum amethyst_animation::MaterialPrimitive [−][src]
Sampler primitive for Material animations
Note that material can only ever be animated with Step, or a panic will occur.
Variants
Texture(usize)Offset((f32, f32), (f32, f32))
Trait Implementations
impl Debug for MaterialPrimitive[src]
impl Debug for MaterialPrimitivefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for MaterialPrimitive[src]
impl Clone for MaterialPrimitivefn clone(&self) -> MaterialPrimitive[src]
fn clone(&self) -> MaterialPrimitiveReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for MaterialPrimitive[src]
impl Copy for MaterialPrimitiveimpl InterpolationPrimitive for MaterialPrimitive[src]
impl InterpolationPrimitive for MaterialPrimitivefn add(&self, _: &Self) -> Self[src]
fn add(&self, _: &Self) -> Selffn sub(&self, _: &Self) -> Self[src]
fn sub(&self, _: &Self) -> Selffn mul(&self, _: f32) -> Self[src]
fn mul(&self, _: f32) -> Selffn dot(&self, _: &Self) -> f32[src]
fn dot(&self, _: &Self) -> f32fn magnitude2(&self) -> f32[src]
fn magnitude2(&self) -> f32fn magnitude(&self) -> f32[src]
fn magnitude(&self) -> f32fn normalize(&self) -> Self[src]
fn normalize(&self) -> Selfimpl From<Sprite> for MaterialPrimitive[src]
impl From<Sprite> for MaterialPrimitiveimpl<'a> From<&'a Sprite> for MaterialPrimitive[src]
impl<'a> From<&'a Sprite> for MaterialPrimitiveAuto Trait Implementations
impl Send for MaterialPrimitive
impl Send for MaterialPrimitiveimpl Sync for MaterialPrimitive
impl Sync for MaterialPrimitive