Table of Contents

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 Quaternion

Left value

value2 Quaternion

Right value

t float

Lerp amount between 0 and 1

result Quaternion

The interpolated result of linearLerp(L, R, t)