Synced
AnimationSampling.Interpolate
Section titled “AnimationSampling.Interpolate”
- Interpolates compatible values, normalizing quaternion output.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Animation
Declaration
Section titled “Declaration”public static Inno.Animation.AnimationValue Inno.Animation.AnimationSampling.Interpolate(Inno.Animation.AnimationValue left, Inno.Animation.AnimationValue right, float amount)Parameters
Section titled “Parameters”Parameter left: The initial value.
Parameter right: The final value of the same kind.
Parameter amount: The interpolation fraction, clamped to zero through one.
Returns
Section titled “Returns”The interpolated value.