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