Working with Graphic Elements > Classes > Matrix4
Namespace: PP;
Matrix4
PP.initClass(PP.Matrix4, PP.Object, "PP.Matrix4");
The Matrix4 class implements a 4x4 matrix.
A 4x4 matrix is used for internal use on plotting a 3D map as a model and view matrix.
Constructor name | Brief description | |
![]() |
Matrix4 | The Matrix4 constructor creates an instance of the Matrix4 class. |
Property name | Brief description | |
![]() |
Data | The Data property contains matrix values. |
Method name | Brief description | |
![]() |
calcNormMatrix | The calcNormMatrix method calculates normal matrix. |
![]() |
invert | The invert method inverts matrix. |
![]() |
mult | The mult method multiplies matrices. |
![]() |
rotate | The rotate method rotates model and view matrix. |
![]() |
scale | The scale method scales model and view matrix. |
![]() |
setIdentity | The setIdentity method sets an identify matrix. |
![]() |
setOrtho | The setOrtho method sets orthographic projection matrix. |
![]() |
setPerspective | The setPerspective method sets perspective projection matrix. |
![]() |
translate | The translate method offsets model and view matrix. |
![]() |
transpose | The transpose method transposes matrix. |
Property name | Brief description | |
![]() |
The Id property sets component identifier. | |
![]() |
The Settings property sets component parameters. |
Method name | Brief description | |
![]() |
clone | The clone method creates an object copy. |
![]() |
dispose | The dispose method deletes the component. |
![]() |
getHashCode | The getHashCode method returns hash code of repository object. |
![]() |
getSettings | The getSettings method returns repository object settings. |
![]() |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
![]() |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. |
![]() |
isLive | The isLive method determines validity of repository object. |
![]() |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. |
![]() |
setSettings | The setSettings method determines repository object settings. |
![]() |
defineProps | The defineProps method creates get and set methods from name array for the specified class. |
![]() |
keys | The keys method returns array of methods and properties names for the specified object. |
See also: