Table of Contents

Class ComputeBinaryCurveQuaternion

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Binary operator Quaternion value for the IComputeCurve interface

[DataContract("ComputeBinaryCurveQuaternion")]
[Display("Binary Operation", null)]
public class ComputeBinaryCurveQuaternion : ComputeBinaryCurve<Quaternion>, IComputeCurve<Quaternion>, IComputeCurve
Inheritance
ComputeBinaryCurveQuaternion
Implements
Inherited Members

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

a Quaternion

Left value A

b Quaternion

Right value B

Returns

Quaternion

The sum A + B

Multiply(Quaternion, Quaternion)

Multiplies the left value to the right value and retuns the result

protected override Quaternion Multiply(Quaternion a, Quaternion b)

Parameters

a Quaternion

Left value A

b Quaternion

Right value B

Returns

Quaternion

The result A * B

Subtract(Quaternion, Quaternion)

Subtracts the right value from the left value and retuns the result

protected override Quaternion Subtract(Quaternion a, Quaternion b)

Parameters

a Quaternion

Left value A

b Quaternion

Right value B

Returns

Quaternion

The result A - B