Table of Contents

Class ComputeCurveSamplerFloat

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Sampler container for float data type

[DataContract("ComputeCurveSamplerFloat")]
[Display("Sampler Float", null)]
public class ComputeCurveSamplerFloat : ComputeCurveSampler<float>
Inheritance
ComputeCurveSamplerFloat
Inherited Members

Constructors

ComputeCurveSamplerFloat()

public ComputeCurveSamplerFloat()

Methods

Linear(ref float, ref float, float, out float)

Interface for linera interpolation between two data values

public override void Linear(ref float value1, ref float value2, float t, out float result)

Parameters

value1 float

Left value

value2 float

Right value

t float

Lerp amount between 0 and 1

result float

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