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