abstract lime.math.Matrix4(Float32Array) from Float32Array to Float32Array

Available on all platforms

Class Fields

function create2D(x:Float, y:Float, ?scale:Float, ?rotation:Float): Matrix4

function createABCD(a:Float, b:Float, c:Float, d:Float, tx:Float, ty:Float): Matrix4

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

function interpolate(thisMat:Matrix4, toMat:Matrix4, percent:Float): Matrix4

Instance Fields

function new(?data:Float32Array): Matrix4

function append(lhs:Matrix4): Void

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

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

function clone(): Matrix4

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

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

function copyFrom(other:Matrix4): Void

function copyRowFrom(row:UInt, vector:Vector4): Void

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

function copyToMatrix4(other:Matrix4): Void

function copythisFrom(array:Float32Array, ?index:UInt, ?transposeValues:Bool): Void

function copythisTo(array:Float32Array, ?index:UInt, ?transposeValues:Bool): Void

function deltaTransformVector(v:Vector4): Vector4

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

function get(index:Int): Float

function identity(): Void

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

function invert(): Bool

function pointAt(pos:Vector4, ?at:Vector4, ?up:Vector4): Void

function prepend(rhs:Matrix4): Void

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

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

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

function transpose(): Void