ComputeCurveSamplerQuaternion Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
Sampler container for Quaternion data type
Derived from ComputeCurveSamplerQuaternion:
[DataContract("ComputeCurveSamplerQuaternion")]
[Display("Sampler Quaternion", null)]
public class ComputeCurveSamplerQuaternion : ComputeCurveSampler<Quaternion>
Name | Description | |
---|---|---|
Constructors | ||
ComputeCurveSamplerQuaternion() | ||
Methods | ||
Linear(ref Quaternion, ref Quaternion, Single, out Quaternion) | Interface for linera interpolation between two data values |
Constructors
ComputeCurveSamplerQuaternion()
public ComputeCurveSamplerQuaternion()
Methods
Linear(ref Quaternion, ref Quaternion, Single, 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
Type | Name | Description |
---|---|---|
Quaternion | value1 | |
Quaternion | value2 | |
System.Single | t | Lerp amount between 0 and 1 |
Quaternion | result |
Overrides
Stride.Animations.ComputeCurveSampler<Stride.Core.Mathematics.Quaternion>.Linear(Stride.Core.Mathematics.Quaternion, Stride.Core.Mathematics.Quaternion, System.Single, Stride.Core.Mathematics.Quaternion)