Class AnimationCurveEvaluatorFloat
Evaluate 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)
Lerps the specified value1.
Declaration
public override void Add(ref object a, ref object b, ref object result)
Parameters
Type | Name | Description |
---|---|---|
object | a | The value1. |
object | b | The value2. |
object | result | The result. |
Overrides
Add(ref object, ref object, float, ref object)
Lerps the specified value1.
Declaration
public override void Add(ref object a, ref object b, float amount, ref object result)
Parameters
Type | Name | Description |
---|---|---|
object | a | The value1. |
object | b | The value2. |
float | amount | The amount. |
object | result | The result. |
Overrides
Add(ref float, ref float, float, ref float)
Lerps the specified value1.
Declaration
public override void Add(ref float value1, ref float value2, float amount, ref float result)
Parameters
Type | Name | Description |
---|---|---|
float | value1 | The value1. |
float | value2 | The value2. |
float | amount | The amount. |
float | result | The result. |
Overrides
Add(ref float, ref float, ref float)
Lerps the specified value1.
Declaration
public override void Add(ref float value1, ref float value2, ref float result)
Parameters
Type | Name | Description |
---|---|---|
float | value1 | The value1. |
float | value2 | The value2. |
float | result | The result. |
Overrides
InverseValue(object)
Intert a value.
Declaration
public override object InverseValue(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value | The value. |
Returns
Type | Description |
---|---|
object | The inverted value. |
Overrides
InverseValue(float)
Intert a value.
Declaration
public override float InverseValue(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value | The value. |
Returns
Type | Description |
---|---|
float | The inverted value. |
Overrides
Lerp(ref object, ref object, float, ref object)
Lerps the specified value1.
Declaration
public override void Lerp(ref object a, ref object b, float amount, ref object result)
Parameters
Type | Name | Description |
---|---|---|
object | a | The value1. |
object | b | The value2. |
float | amount | The amount. |
object | result | The result. |
Overrides
Lerp(ref float, ref float, float, ref float)
Lerps the specified value1.
Declaration
public override void Lerp(ref float value1, ref float value2, float amount, ref float result)
Parameters
Type | Name | Description |
---|---|---|
float | value1 | The value1. |
float | value2 | The value2. |
float | amount | The amount. |
float | result | The result. |
Overrides
ReadValue(BinaryReader, out float)
Read the value.
Declaration
public override void ReadValue(BinaryReader reader, out float value)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
float | value | The readed value. |
Overrides
WriteValue(ref float, BinaryWriter)
Write a value in a binary writer.
Declaration
public override void WriteValue(ref float value, BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
float | value | The value. |
BinaryWriter | writer | The binary writer. |