Matrix
Direct Subclass:
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:
| Name | Type | Attribute | Description |
| m | * |
public copy() source
public multiply(m: *) source
Params:
| Name | Type | Attribute | Description |
| m | * |
public setPosition(x: *, y: *) source
Params:
| Name | Type | Attribute | Description |
| x | * | ||
| y | * |
public setRotation(rotationDegree: *) source
Params:
| Name | Type | Attribute | Description |
| rotationDegree | * |
public setScale(scaleX: *, scaleY: *) source
Params:
| Name | Type | Attribute | Description |
| scaleX | * | ||
| scaleY | * |
