Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Quat

Hierarchy

  • Quat

Index

Constructors

constructor

  • new Quat(qx: number, qy: number, qz: number, qw: number): Quat
  • Parameters

    • qx: number
    • qy: number
    • qz: number
    • qw: number

    Returns Quat

Properties

axisX

axisX: Vector3

axisY

axisY: Vector3

axisZ

axisZ: Vector3

w

w: number

x

x: number

y

y: number

z

z: number

Methods

apply

  • Parameters

    Returns Quat

compose

  • Parameters

    Returns Quat

getAngle

  • getAngle(): number
  • deprecated

    Returns number

getEulerAngles

  • Returns Vector3

getRotationAngle

  • getRotationAngle(): number
  • Returns number

getRotationAxis

  • Returns Vector3

inverse

  • Returns Quat

Static dot

  • Parameters

    Returns number

Static fromEulerAngles

  • fromEulerAngles(e: Vector3): Quat
  • fromEulerAngles(x: number, y: number, z: number): Quat
  • Parameters

    Returns Quat

  • Parameters

    • x: number
    • y: number
    • z: number

    Returns Quat

Static makeRotation

  • Parameters

    Returns Quat

Static mul

  • Parameters

    Returns Quat

Generated using TypeDoc