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