Table of Contents

Class ComputeSeparateCurveVector4

Namespace
Stride.Animations
Assembly
Stride.Engine.dll
[DataContract("ComputeSeparateCurveVector4")]
[Display("4 Channels", null)]
public class ComputeSeparateCurveVector4 : IComputeCurve<Vector4>, IComputeCurve
Inheritance
ComputeSeparateCurveVector4
Implements

Properties

W

[DataMember(40)]
[Display("W", null)]
public IComputeCurve<float> W { get; set; }

Property Value

IComputeCurve<float>

X

[DataMember(10)]
[Display("X", null)]
public IComputeCurve<float> X { get; set; }

Property Value

IComputeCurve<float>

Y

[DataMember(20)]
[Display("Y", null)]
public IComputeCurve<float> Y { get; set; }

Property Value

IComputeCurve<float>

Z

[DataMember(30)]
[Display("Z", null)]
public IComputeCurve<float> Z { get; set; }

Property Value

IComputeCurve<float>

Methods

Evaluate(float)

Evaluates the compute curve's value at the specified location, usually in the [0 .. 1] range

public Vector4 Evaluate(float t)

Parameters

t float

Returns

Vector4

Sampled value

UpdateChanges()

Updates any optimizations in the curve if data has changed.

public bool UpdateChanges()

Returns

bool

true there were changes since the last time; otherwise, false.