Static variables

@:value(0)staticinlineread onlyAXIS_X:Int = 0

@:value(1)staticinlineread onlyAXIS_Y:Int = 1

@:value(2)staticinlineread onlyAXIS_Z:Int = 2

Static methods

staticinlinefromAxisAngle(axis:Vector3, radians:Float):Quaternion

Constructor

@:value({ w : 1, z : 0, y : 0, x : 0 })inlinenew(x:Float = 0, y:Float = 0, z:Float = 0, w:Float = 1)

Variables

length:Float

w:Float

x:Float

y:Float

z:Float

Methods

inlinedot(q:Quaternion):Float

inlineget(index:Int):Float

@:value({ D : 1, S : 1 })getEulerAngles(A1:Int, A2:Int, A3:Int, S:Int = 1, D:Int = 1):Vector3

inlinematrix():Matrix4

inlinenormalize():Void

inlinescale(scale:Float):Void

inlinescaled(scale:Float):Quaternion

inlineset(index:Int, value:Float):Void