Enum amethyst_animation::InterpolationType
[−]
[src]
pub enum InterpolationType { Linear, SphericalLinear, Step, CatmullRomSpline, CubicSpline, }
Supported interpolation functions
Variants
Linear
Linear interpolation
SphericalLinear
Spherical linear interpolation
Step
Step interpolation
CatmullRomSpline
Catmull-Rom spline interpolation
CubicSpline
Cubic Hermite spline interpolation
Trait Implementations
impl Debug for InterpolationType
[src]
impl Clone for InterpolationType
[src]
fn clone(&self) -> InterpolationType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for InterpolationType
[src]
fn eq(&self, __arg_0: &InterpolationType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Interpolate<[f32; 3]> for InterpolationType
[src]
fn interpolate(
&self,
input: f32,
inputs: &[f32],
outputs: &[[f32; 3]],
normalize: bool
) -> [f32; 3]
[src]
&self,
input: f32,
inputs: &[f32],
outputs: &[[f32; 3]],
normalize: bool
) -> [f32; 3]
Interpolation function, f(input) -> T
Read more