Constructor

inline new (x:Float = 0, y:Float = 0, z:Float = 0, w:Float = 1)

Variables

length:Float

w:Float

x:Float

y:Float

z:Float

Methods

inline dot (q:Quaternion):Float

inline get (index:Int):Float

getEulerAngles (A1:Int, A2:Int, A3:Int, S:Int = 1, D:Int = 1):Vector3

get_w ():Float

get_x ():Float

get_y ():Float

get_z ():Float

inline matrix ():Matrix4

inline normalize ():Void

inline scale (scale:Float):Void

inline scaled (scale:Float):Quaternion

inline set (index:Int, value:Float):Void

set_w (value:Float):Float

set_x (value:Float):Float

set_y (value:Float):Float

set_z (value:Float):Float

Static variables

staticinline read onlyAXIS_X:Int = 0

staticinline read onlyAXIS_Y:Int = 1

staticinline read onlyAXIS_Z:Int = 2

Static methods

staticinline fromAxisAngle (axis:Vector3, radians:Float):Quaternion