Table of Contents

Class ComputeCurveSamplerVector4

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Sampler container for Vector4 data type

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

Constructors

ComputeCurveSamplerVector4()

public ComputeCurveSamplerVector4()

Methods

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

Interface for linera interpolation between two data values

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

Parameters

value1 Vector4

Left value

value2 Vector4

Right value

t float

Lerp amount between 0 and 1

result Vector4

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