Table of Contents

Class ComputeSeparateCurveVector3

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

Properties

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 Vector3 Evaluate(float t)

Parameters

t float

Returns

Vector3

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.