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