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