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