Class ComputeCurveSamplerQuaternion
- Namespace
- Stride.Animations
- Assembly
- Stride.Engine.dll
Sampler container for Quaternion data type
[DataContract("ComputeCurveSamplerQuaternion")]
[Display("Sampler Quaternion", null)]
public class ComputeCurveSamplerQuaternion : ComputeCurveSampler<Quaternion>
- Inheritance
-
ComputeCurveSamplerQuaternion
- Inherited Members
Constructors
ComputeCurveSamplerQuaternion()
public ComputeCurveSamplerQuaternion()
Methods
Linear(ref Quaternion, ref Quaternion, float, out Quaternion)
Interface for linera interpolation between two data values
public override void Linear(ref Quaternion value1, ref Quaternion value2, float t, out Quaternion result)
Parameters
value1
QuaternionLeft value
value2
QuaternionRight value
t
floatLerp amount between 0 and 1
result
QuaternionThe interpolated result of linearLerp(L, R, t)