Table of Contents

Class AnimationChannel

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

List of float key frame data applying to a specific property in a node.

public class AnimationChannel
Inheritance
AnimationChannel

Constructors

AnimationChannel()

public AnimationChannel()

Properties

KeyFrames

public List<KeyFrameData<float>> KeyFrames { get; set; }

Property Value

List<KeyFrameData<float>>

TargetObject

Gets or sets the target object name.

public string TargetObject { get; set; }

Property Value

string

The target object name.

TargetProperty

Gets or sets the target property name.

public string TargetProperty { get; set; }

Property Value

string

The target property name.

Methods

EvaluateCubic(CompressedTimeSpan)

public float EvaluateCubic(CompressedTimeSpan time)

Parameters

time CompressedTimeSpan

Returns

float

Fitting(Func<CompressedTimeSpan, float>, CompressedTimeSpan, float)

public void Fitting(Func<CompressedTimeSpan, float> originalCurve, CompressedTimeSpan stepSize, float maxErrorThreshold)

Parameters

originalCurve Func<CompressedTimeSpan, float>
stepSize CompressedTimeSpan
maxErrorThreshold float