Quaternion Operators

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

The Quaternion type exposes the following members.

Operators

  NameDescription
Public operatorStatic memberAddition
Adds two quaternions.
Public operatorStatic memberDivision
Divides a quaternion by another.
Public operatorStatic memberEquality
Tests for equality between two objects.
Public operatorStatic memberInequality
Tests for inequality between two objects.
Public operatorStatic memberMultiply(Single, Quaternion)
Scales a quaternion by the given value.
Public operatorStatic memberMultiply(Quaternion, Quaternion)
Multiplies a quaternion by another.
Public operatorStatic memberMultiply(Quaternion, Single)
Scales a quaternion by the given value.
Public operatorStatic memberSubtraction
Subtracts two quaternions.
Public operatorStatic memberUnaryNegation
Reverses the direction of a given quaternion.
Top
See Also

Reference