OpenMetaverse Protocol Library Developers API Documentation
Quaternion Structure
NamespacesOpenMetaverseQuaternion
Declaration Syntax
C#
[
SerializableAttribute]
public 
struct 
Quaternion : 
IEquatable<
Quaternion>
Members
All Members Constructors Methods Fields



Icon Member Description
Quaternion(Single, Single, Single, Single)
Initializes a new instance of the Quaternionclass

Quaternion(Vector3, Single)
Initializes a new instance of the Quaternionclass

Quaternion(Single, Single, Single)
Build a quaternion from normalized float values

Quaternion( array< Byte > [] () [] [] , Int32, Boolean)
Constructor, builds a quaternion object from a byte array

Quaternion(Quaternion)
Initializes a new instance of the Quaternionclass

Add(Quaternion, Quaternion)
Addition(Quaternion, Quaternion)
ApproxEquals(Quaternion, Single)
Conjugate(Quaternion)
Returns the conjugate (spatial inverse) of a quaternion

CreateFromAxisAngle(Single, Single, Single, Single)
Build a quaternion from an axis and an angle of rotation around that axis

CreateFromAxisAngle(Vector3, Single)
Build a quaternion from an axis and an angle of rotation around that axis

CreateFromEulers(Vector3)
Creates a quaternion from a vector containing roll, pitch, and yaw in radians

CreateFromEulers(Single, Single, Single)
Creates a quaternion from roll, pitch, and yaw euler angles in radians

CreateFromRotationMatrix(Matrix4)
Divide(Quaternion, Quaternion)
Division(Quaternion, Quaternion)
Dot(Quaternion, Quaternion)
Equality(Quaternion, Quaternion)
Equals(Object) (Overrides ValueType. Equals(Object).)
Equals(Quaternion)
FromBytes( array< Byte > [] () [] [] , Int32, Boolean)
Builds a quaternion object from a byte array

GetAxisAngle(Vector3 % , Single % )
Convert this quaternion to an angle around an axis

GetBytes () () () ()
Normalize this quaternion and serialize it to a byte array

GetEulerAngles(Single % , Single % , Single % )
Convert this quaternion to euler angles

GetHashCode () () () () (Overrides ValueType. GetHashCode () () () () .)
Identity
A quaternion with a value of 0,0,0,1

Inequality(Quaternion, Quaternion)
Inverse(Quaternion)
Conjugates and renormalizes a vector

Length () () () ()
LengthSquared () () () ()
Multiply(Quaternion, Quaternion)
Multiply(Quaternion, Single)
Multiply(Quaternion, Quaternion)
Multiply(Quaternion, Single)
Negate(Quaternion)
Normalize () () () ()
Normalizes the quaternion

Normalize(Quaternion)
Parse(String)
Slerp(Quaternion, Quaternion, Single)
Spherical linear interpolation between two quaternions

Subtract(Quaternion, Quaternion)
Subtraction(Quaternion, Quaternion)
ToBytes( array< Byte > [] () [] [] , Int32)
Writes the raw bytes for this quaternion to a byte array

ToRawString () () () ()
Get a string representation of the quaternion elements with up to three decimal digits and separated by spaces only

ToString () () () () (Overrides ValueType. ToString () () () () .)
TryParse(String, Quaternion % )
UnaryNegation(Quaternion)
W
W value

X
X value

Y
Y value

Z
Z value

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0