Click or drag to resize

Quaternion Structure

Represents a double precision four-dimensional mathematical quaternion.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct Quaternion

The Quaternion type exposes the following members.

Constructors
  NameDescription
Public methodQuaternion(Quaternion)
Initializes a new instance of the Quaternion class
Public methodQuaternion(QuaternionF)
Initializes a new instance of the Quaternion class
Public methodQuaternion(Vector3, Double)
Initializes a new instance of the Quaternion class
Public methodQuaternion(Double, Double, Double, Double)
Initializes a new instance of the Quaternion class
Top
Properties
  NameDescription
Public propertyAngles
Public propertyItem
Top
Methods
  NameDescription
Public methodStatic memberAdd
Public methodEquals(Object) (Overrides ValueTypeEquals(Object).)
Public methodEquals(Quaternion)
Public methodEquals(Quaternion, Double)
Public methodStatic memberEquals(Quaternion, Quaternion)
Public methodEquals(Quaternion, Double)
Public methodStatic memberFromDirectionZAxisUp(Vector3)
Similar to Quat.LookAt( direction, Vec3.ZAxis ) with fix for vertical direction.
Public methodStatic memberFromDirectionZAxisUp(Vector3, Quaternion)
Similar to Quat.LookAt( direction, Vec3.ZAxis ) with fix for vertical direction.
Public methodStatic memberFromRotateByX(Radian)
Public methodStatic memberFromRotateByX(Radian, Quaternion)
Public methodStatic memberFromRotateByY(Radian)
Public methodStatic memberFromRotateByY(Radian, Quaternion)
Public methodStatic memberFromRotateByZ(Radian)
Public methodStatic memberFromRotateByZ(Radian, Quaternion)
Public methodStatic memberGetAngle
Public methodGetForward
Public methodGetForward(Vector3)
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodGetInverse
Public methodGetLeft
Public methodGetNormalize
Public methodStatic memberGetNormalize(Quaternion, Quaternion)
Public methodGetRight
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUp
Public methodGetUp(Vector3)
Public methodInverse
Public methodLength
Public methodStatic memberLookAt(Vector3, Vector3)
Public methodStatic memberLookAt(Vector3, Vector3, Quaternion)
Public methodStatic memberMultiply(Double, Quaternion, Quaternion)
Public methodStatic memberMultiply(Quaternion, Quaternion, Quaternion)
Public methodStatic memberMultiply(Quaternion, Vector3, Vector3)
Public methodStatic memberMultiply(Quaternion, Double, Quaternion)
Public methodStatic memberMultiply(Vector3, Quaternion, Vector3)
Public methodStatic memberNegate
Public methodNormalize
Public methodStatic memberParse
Public methodStatic memberSlerp(Quaternion, Quaternion, Double)
Public methodStatic memberSlerp(Quaternion, Quaternion, Double, Quaternion)
Public methodStatic memberSubtract
Public methodToAngles
Public methodToAngles(Angles)
Public methodToMatrix3
Public methodToMatrix3(Matrix3)
Public methodToQuaternionF
Public methodToQuaternionH
Public methodToString (Overrides ValueTypeToString.)
Public methodToString(Int32)
Public methodToVector4
Top
Operators
Fields
Extension Methods
See Also