ComputeBinaryCurveQuaternion Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
Binary operator Quaternion value for the IComputeCurve interface
Derived from ComputeBinaryCurveQuaternion:
[DataContract("ComputeBinaryCurveQuaternion")]
[Display("Binary Operation", null)]
public class ComputeBinaryCurveQuaternion : ComputeBinaryCurve<Quaternion>, IComputeCurve<Quaternion>, IComputeCurve
| Name | Description | |
|---|---|---|
| Methods | ||
| Add(Quaternion, Quaternion) | Adds the left value to the right value and retuns their sum |
|
| Multiply(Quaternion, Quaternion) | Multiplies the left value to the right value and retuns the result |
|
| Subtract(Quaternion, Quaternion) | Subtracts the right value from the left value and retuns the result |
|
Methods
Add(Quaternion, Quaternion)
Adds the left value to the right value and retuns their sum
protected override Quaternion Add(Quaternion a, Quaternion b)
Parameters
| Type | Name | Description |
|---|---|---|
| Quaternion | a | |
| Quaternion | b |
Returns
| Type | Description |
|---|---|
| Quaternion | The sum A + B |
Overrides
Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Quaternion>.Add(Stride.Core.Mathematics.Quaternion, Stride.Core.Mathematics.Quaternion)
Multiply(Quaternion, Quaternion)
Multiplies the left value to the right value and retuns the result
protected override Quaternion Multiply(Quaternion a, Quaternion b)
Parameters
| Type | Name | Description |
|---|---|---|
| Quaternion | a | |
| Quaternion | b |
Returns
| Type | Description |
|---|---|
| Quaternion | The result A * B |
Overrides
Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Quaternion>.Multiply(Stride.Core.Mathematics.Quaternion, Stride.Core.Mathematics.Quaternion)
Subtract(Quaternion, Quaternion)
Subtracts the right value from the left value and retuns the result
protected override Quaternion Subtract(Quaternion a, Quaternion b)
Parameters
| Type | Name | Description |
|---|---|---|
| Quaternion | a | |
| Quaternion | b |
Returns
| Type | Description |
|---|---|
| Quaternion | The result A - B |
Overrides
Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Quaternion>.Subtract(Stride.Core.Mathematics.Quaternion, Stride.Core.Mathematics.Quaternion)