Table of Contents

Class ComputeCurveSamplerColor4

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Sampler container for Color4 data type

[DataContract("ComputeCurveSamplerColor4")]
[Display("Sampler Color4", null)]
public class ComputeCurveSamplerColor4 : ComputeCurveSampler<Color4>
Inheritance
ComputeCurveSamplerColor4
Inherited Members

Constructors

ComputeCurveSamplerColor4()

public ComputeCurveSamplerColor4()

Methods

Linear(ref Color4, ref Color4, float, 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

value1 Color4

Left value

value2 Color4

Right value

t float

Lerp amount between 0 and 1

result Color4

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