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