Class AnimationCurveEvaluatorFloat
Evaluates the values of a curve.
Inheritance
AnimationCurveEvaluatorFloat
Inherited Members
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public class AnimationCurveEvaluatorFloat : AnimationCurveEvaluator<float>
Methods
Add(ref object, ref object, ref object)
Performs addition of two values.
Declaration
public override 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. |
Overrides
Add(ref object, ref object, float, ref object)
Adds the second value, multiplied by a specified amount, to the first value.
Declaration
public override 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. |
Overrides
Add(ref float, ref float, float, ref float)
Lerps the specified value.
Declaration
public override void Add(ref float value1, ref float value2, float amount, ref float result)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value1 | |
| float | value2 | |
| float | amount | The interpolation amount. |
| float | result | The result. |
Overrides
Add(ref float, ref float, ref float)
Lerps the specified value.
Declaration
public override void Add(ref float value1, ref float value2, ref float result)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value1 | |
| float | value2 | |
| float | result | The result. |
Overrides
InverseValue(object)
Insert a value.
Declaration
public override object InverseValue(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The value. |
Returns
| Type | Description |
|---|---|
| object | The inserted value. |
Overrides
InverseValue(float)
Insert a value.
Declaration
public override float InverseValue(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The value. |
Returns
| Type | Description |
|---|---|
| float | The inserted value. |
Overrides
Lerp(ref object, ref object, float, ref object)
Lerps between the specified values.
Declaration
public override 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. |
Overrides
Lerp(ref float, ref float, float, ref float)
Lerps the specified value.
Declaration
public override void Lerp(ref float value1, ref float value2, float amount, ref float result)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value1 | |
| float | value2 | |
| float | amount | The interpolation amount. |
| float | result | The interpolation result. |
Overrides
ReadValue(BinaryReader, out float)
Reads the value.
Declaration
public override void ReadValue(BinaryReader reader, out float value)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryReader | reader | The binary reader. |
| float | value | The read value. |
Overrides
WriteValue(ref float, BinaryWriter)
Reads the value.
Declaration
public override void WriteValue(ref float value, BinaryWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The value. |
| BinaryWriter | writer | The writer. |