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(u64)
Offset((f32, f32), (f32, f32))
Trait Implementations
impl Debug for MaterialPrimitive
[src]
impl Debug for MaterialPrimitive
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MaterialPrimitive
[src]
impl Clone for MaterialPrimitive
fn clone(&self) -> MaterialPrimitive
[src]
fn clone(&self) -> MaterialPrimitive
Returns 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 MaterialPrimitive
impl PartialEq for MaterialPrimitive
[src]
impl PartialEq for MaterialPrimitive
fn eq(&self, other: &MaterialPrimitive) -> bool
[src]
fn eq(&self, other: &MaterialPrimitive) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MaterialPrimitive) -> bool
[src]
fn ne(&self, other: &MaterialPrimitive) -> bool
This method tests for !=
.
impl InterpolationPrimitive for MaterialPrimitive
[src]
impl InterpolationPrimitive for MaterialPrimitive
fn add(&self, _: &Self) -> Self
[src]
fn add(&self, _: &Self) -> Self
fn sub(&self, _: &Self) -> Self
[src]
fn sub(&self, _: &Self) -> Self
fn mul(&self, _: f32) -> Self
[src]
fn mul(&self, _: f32) -> Self
fn dot(&self, _: &Self) -> f32
[src]
fn dot(&self, _: &Self) -> f32
fn magnitude2(&self) -> f32
[src]
fn magnitude2(&self) -> f32
fn magnitude(&self) -> f32
[src]
fn magnitude(&self) -> f32
fn normalize(&self) -> Self
[src]
fn normalize(&self) -> Self
impl From<Sprite> for MaterialPrimitive
[src]
impl From<Sprite> for MaterialPrimitive
impl<'a> From<&'a Sprite> for MaterialPrimitive
[src]
impl<'a> From<&'a Sprite> for MaterialPrimitive
Auto Trait Implementations
impl Send for MaterialPrimitive
impl Send for MaterialPrimitive
impl Sync for MaterialPrimitive
impl Sync for MaterialPrimitive