DQuaternion

public double X

Language: C#

The X component of the vector.

public double Y

Language: C#

The Y component of the vector.

public double Z

Language: C#

The Z component of the vector.

public double W

Language: C#

The W component of the vector.

public DVector4 ToVector4()

Language: C#

public DQuaternion(double x, double y, double z, double w)

Language: C#

Initializes a new instance of the [] struct.

Parameters:

  • x: The X component of the vector.
  • y: The Y component of the vector.
  • z: The Z component of the vector.
  • w: The W component of the vector.

public DQuaternion(DQuaternion other)

Language: C#

Initializes a new instance of the [] struct by copying another vector.

Parameters:

  • other: The vector to copy.

public DQuaternion(DVector3 axis, double angle)

Language: C#

Initializes a new instance of the [] struct from an axis and an angle.

public double LengthSquared

Language: C#

Returns squared length of the vector.

Returns: The squared length of the vector.

public double Length

Language: C#

Returns length of the vector.

Returns: The length of the vector.

public DQuaternion Сonjugate

Language: C#

Returns the conjugate of the quaternion.

Returns: The conjugate quaternion.

public DQuaternion Inverse { get; }

Language: C#

Returns the inverse of the quaternion.

Returns: The inverse quaternion.

public static DQuaternion Identity

Language: C#

Returns the identity quaternion.

Returns: The identity quaternion.

public static operator DQuaternion *(DQuaternion a, DQuaternion b)

Language: C#

public static operator DVector3 *(DVector3 vec, DQuaternion q)

Language: C#

public static operator DVector3 *(DQuaternion b, DVector3 vec)

Language: C#

public static DQuaternion Exp(DQuaternion q)

Language: C#

public static DQuaternion Log(DQuaternion q)

Language: C#

public static DQuaternion Pow(DQuaternion q, double p)

Language: C#

public static DQuaternion Lerp(DQuaternion a, DQuaternion b, double t)

Language: C#

public static DQuaternion Slerp(DQuaternion a, DQuaternion b, double t)

Language: C#

public override string ToString()

Language: C#

public override bool Equals(object? obj)

Language: C#

public override int GetHashCode()

Language: C#