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