Class AnimationCurveEvaluator<T>
Evaluate the values of a curve.
Inheritance
AnimationCurveEvaluator<T>
Inherited Members
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public abstract class AnimationCurveEvaluator<T> : AnimationCurveEvaluator
Type Parameters
Name | Description |
---|---|
T | The curve value type. |
Properties
EvaluatedType
Gets the type that is evaluated.
Declaration
public override Type EvaluatedType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Methods
Add(ref T, ref T, float, ref T)
Lerps the specified value1.
Declaration
public abstract void Add(ref T a, ref T b, float amount, ref T result)
Parameters
Type | Name | Description |
---|---|---|
T | a | The value1. |
T | b | The value2. |
float | amount | The amount. |
T | result | The result. |
Add(ref T, ref T, ref T)
Lerps the specified value1.
Declaration
public abstract void Add(ref T a, ref T b, ref T result)
Parameters
Type | Name | Description |
---|---|---|
T | a | The value1. |
T | b | The value2. |
T | result | The result. |
InverseValue(T)
Intert a value.
Declaration
public abstract T InverseValue(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value. |
Returns
Type | Description |
---|---|
T | The inverted value. |
Lerp(ref T, ref T, float, ref T)
Lerps the specified value1.
Declaration
public abstract void Lerp(ref T a, ref T b, float amount, ref T result)
Parameters
Type | Name | Description |
---|---|---|
T | a | The value1. |
T | b | The value2. |
float | amount | The amount. |
T | result | The result. |
ReadValue(BinaryReader, out T)
Read the value.
Declaration
public abstract void ReadValue(BinaryReader reader, out T value)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
T | value | The readed value. |
WriteValue(ref T, BinaryWriter)
Read the value.
Declaration
public abstract void WriteValue(ref T value, BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value. |
BinaryWriter | writer | The writer. |