Constructor

Variables

Methods

appendRotation (degrees:Float, axis:Vector4, ?pivotPoint:Vector4):Void

appendScale (xScale:Float, yScale:Float, zScale:Float):Void

copyColumnFrom (column:Int, vector:Vector4):Void

copyColumnTo (column:Int, vector:Vector4):Void

copyRowFrom (row:Int, vector:Vector4):Void

copyRowTo (row:Int, vector:Vector4):Void

copythisFrom (array:Float32Array, index:Int = 0, transposeValues:Bool = false):Void

copythisTo (array:Float32Array, index:Int = 0, transposeValues:Bool = false):Void

deltaTransformVector (v:Vector4):Vector4

Returns the transformation matrix's translation, rotation, and scale settings as a Vector of three Vector4 objects.

get (index:Int):Float

interpolateTo (toMat:Matrix4, percent:Float):Void

prependRotation (degrees:Float, axis:Vector4, ?pivotPoint:Vector4):Void

prependScale (xScale:Float, yScale:Float, zScale:Float):Void

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

Static methods

staticcreate2D (x:Float, y:Float, scale:Float = 1, rotation:Float = 0):Matrix4

staticcreateABCD (a:Float, b:Float, c:Float, d:Float, tx:Float, ty:Float, ?matrix:Matrix4):Null<Matrix4>

staticcreateOrtho (x0:Float, x1:Float, y0:Float, y1:Float, zNear:Float, zFar:Float):Matrix4

staticinterpolate (thisMat:Matrix4, toMat:Matrix4, percent:Float):Matrix4