Table of Contents

Class ComputeCurveSamplerVector3

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Sampler container for Vector3 data type

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

Constructors

ComputeCurveSamplerVector3()

public ComputeCurveSamplerVector3()

Methods

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

Interface for linera interpolation between two data values

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

Parameters

value1 Vector3

Left value

value2 Vector3

Right value

t float

Lerp amount between 0 and 1

result Vector3

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