Class AnimationCurveEvaluator
Evaluates the values of a curve.
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public abstract class AnimationCurveEvaluator
Properties
EvaluatedType
Gets the type that is being evaluated.
Declaration
public abstract Type EvaluatedType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
Add(ref object, ref object, ref object)
Performs addition of two values.
Declaration
public abstract void Add(ref object a, ref object b, ref object result)
Parameters
Type | Name | Description |
---|---|---|
object | a | The first value. |
object | b | The second value. |
object | result | The result. |
Add(ref object, ref object, float, ref object)
Adds the second value, multiplied by a specified amount, to the first value.
Declaration
public abstract void Add(ref object a, ref object b, float amount, ref object result)
Parameters
Type | Name | Description |
---|---|---|
object | a | The first value. |
object | b | The second value. |
float | amount | The interpolation amount. |
object | result | The resulting value. |
InverseValue(object)
Insert a value.
Declaration
public abstract object InverseValue(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value | The value. |
Returns
Type | Description |
---|---|
object | The inserted value. |
Lerp(ref object, ref object, float, ref object)
Lerps between the specified values.
Declaration
public abstract void Lerp(ref object a, ref object b, float amount, ref object result)
Parameters
Type | Name | Description |
---|---|---|
object | a | The first value. |
object | b | The second value. |
float | amount | The interpolation amount. |
object | result | The interpolated result. |