AnimationChannel.Evaluator Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
System.Object →
AnimationChannel.Evaluator
Derived from AnimationChannel.Evaluator:
public class Evaluator
| Name | Description | |
|---|---|---|
| Constructors | ||
| Evaluator(IEnumerable<KeyFrameData<Single>>) | ||
| Methods | ||
| Evaluate(CompressedTimeSpan) | ||
| InvalidateTime() | ||
Constructors
Evaluator(IEnumerable<KeyFrameData<Single>>)
public Evaluator(IEnumerable<KeyFrameData<float>> keyFrames)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IEnumerable<KeyFrameData<System.Single>> | keyFrames |
Methods
Evaluate(CompressedTimeSpan)
public float Evaluate(CompressedTimeSpan time)
Parameters
| Type | Name | Description |
|---|---|---|
| CompressedTimeSpan | time |
Returns
| Type | Description |
|---|---|
| System.Single |
InvalidateTime()
public void InvalidateTime()