Class AnimationCurveEvaluatorFactory
Evaluate the values of a curve.
Inherited Members
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public static class AnimationCurveEvaluatorFactory
Methods
AddEvaluator<T>(AnimationCurveEvaluator<T>)
Add an evaluator to the evaluator registry.
Declaration
public static void AddEvaluator<T>(AnimationCurveEvaluator<T> evaluator)
Parameters
Type | Name | Description |
---|---|---|
AnimationCurveEvaluator<T> | evaluator | The evaluator. |
Type Parameters
Name | Description |
---|---|
T | The evaluated type. |
GetEvaluator<T>()
Get an evaluator associated with the specifed value type.
Declaration
public static AnimationCurveEvaluator<T> GetEvaluator<T>()
Returns
Type | Description |
---|---|
AnimationCurveEvaluator<T> | The evaluator. |
Type Parameters
Name | Description |
---|---|
T | The value type. |