Home Reference Source Test
public class | source

Matrix

Direct Subclass:

Matrix3

Baseclass for a Matrix. Use Matrix3 or Matrix4 for 2D and 3D matrix math.

Method Summary

Public Methods
public

add(m: *)

public

copy()

public

multiply(m: *)

public

setPosition(x: *, y: *)

public

setRotation(rotationDegree: *)

public

setScale(scaleX: *, scaleY: *)

Public Methods

public add(m: *) source

Params:

NameTypeAttributeDescription
m *

public copy() source

public multiply(m: *) source

Params:

NameTypeAttributeDescription
m *

public setPosition(x: *, y: *) source

Params:

NameTypeAttributeDescription
x *
y *

public setRotation(rotationDegree: *) source

Params:

NameTypeAttributeDescription
rotationDegree *

public setScale(scaleX: *, scaleY: *) source

Params:

NameTypeAttributeDescription
scaleX *
scaleY *