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