MonoMac.OpenGL.Quaternion Members

The members of MonoMac.OpenGL.Quaternion are listed below.

See Also: Inherited members from System.ValueType

Public Constructors

Construct a new Quaternion from vector and w components
Construct a new Quaternion

Public Fields

static
IdentityQuaternion. Defines the identity quaternion.

Public Properties

[read-only]
Lengthfloat. Gets the length (magnitude) of the quaternion.
[read-only]
LengthSquaredfloat. Gets the square of the quaternion length (magnitude).
Wfloat. Gets or sets the W component of this instance.
Xfloat. Gets or sets the X component of this instance.
XyzVector3. Gets or sets an OpenTK.Vector3 with the X, Y and Z components of this instance.
XYZVector3. Gets or sets an OpenTK.Vector3 with the X, Y and Z components of this instance.
Yfloat. Gets or sets the Y component of this instance.
Zfloat. Gets or sets the Z component of this instance.

Public Methods

static
Add(Quaternion, Quaternion) : Quaternion
Add two quaternions
static
Add(ref Quaternion, ref Quaternion, out Quaternion)
Add two quaternions
Conjugate()
Convert this quaternion to its conjugate
static
Conjugate(Quaternion) : Quaternion
Get the conjugate of the given quaternion
static
Conjugate(ref Quaternion, out Quaternion)
Get the conjugate of the given quaternion
Equals(Quaternion) : bool
Compares this Quaternion instance to another Quaternion for equality.
override
Equals(object) : bool
Compares this object instance to another object for equality.
static
FromAxisAngle(Vector3, float) : Quaternion
Build a quaternion from the given axis and angle
override
GetHashCode() : int
Provides the hash code for this object.
static
Invert(Quaternion) : Quaternion
Get the inverse of the given quaternion
static
Invert(ref Quaternion, out Quaternion)
Get the inverse of the given quaternion
static
Mult(Quaternion, Quaternion) : Quaternion
Multiplies two instances.
static
Mult(ref Quaternion, ref Quaternion, out Quaternion)
Multiplies two instances.
static
Multiply(Quaternion, Quaternion) : Quaternion
Multiplies two instances.
static
Multiply(Quaternion, float) : Quaternion
Multiplies an instance by a scalar.
static
Multiply(ref Quaternion, ref Quaternion, out Quaternion)
Multiplies two instances.
static
Multiply(ref Quaternion, float, out Quaternion)
Multiplies an instance by a scalar.
Normalize()
Scales the Quaternion to unit length.
static
Normalize(Quaternion) : Quaternion
Scale the given quaternion to unit length
static
Normalize(ref Quaternion, out Quaternion)
Scale the given quaternion to unit length
static
Slerp(Quaternion, Quaternion, float) : Quaternion
Do Spherical linear interpolation between two quaternions
static
Sub(Quaternion, Quaternion) : Quaternion
Subtracts two instances.
static
Sub(ref Quaternion, ref Quaternion, out Quaternion)
Subtracts two instances.
ToAxisAngle() : Vector4
Convert this instance to an axis-angle representation.
ToAxisAngle(out Vector3, out float)
Convert the current quaternion to axis angle representation
override
ToString() : string
Returns a System.String that represents the current Quaternion.

Public Operators

static
Addition(Quaternion, Quaternion) Adds two instances.
static
Equality(Quaternion, Quaternion) Compares two instances for equality.
static
Inequality(Quaternion, Quaternion) Compares two instances for inequality.
static
Multiply(Quaternion, Quaternion) Multiplies two instances.
static
Multiply(Quaternion, float) Multiplies an instance by a scalar.
static
Multiply(float, Quaternion) Multiplies an instance by a scalar.
static
Subtraction(Quaternion, Quaternion) Subtracts two instances.