Class AnimationCurveEvaluatorFactory
Evaluates the values of a curve.
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public static class AnimationCurveEvaluatorFactory
Methods
AddEvaluator<T>(AnimationCurveEvaluator<T>)
Adds 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>()
Gets an evaluator associated with the specified value type.
Declaration
public static AnimationCurveEvaluator<T> GetEvaluator<T>()
Returns
Type | Description |
---|---|
AnimationCurveEvaluator<T> | The evaluator. |
Type Parameters
Name | Description |
---|---|
T | The value type. |