ReadonlyQuaternion: {
    w: number;
    x: number;
    y: number;
    z: number;
}

For external use, type with Quaternion, e.g. const zeroRotation: Quaternion = Quaternion.Zero(). For mutable typing, use Quaternion.Mutable, e.g. const identityQuaternion: Quaternion.Mutable = Quaternion.Identity().

Type declaration

  • Readonly w: number
  • Readonly x: number
  • Readonly y: number
  • Readonly z: number