| Platform | Since |
|---|---|
| iPhone | 0.9 |
| iPad | 0.9 |
The 3D Matrix is an object for holding values for an affine transformation matrix.
The 3DMatrix is created by Titanium.UI.iOS.create3DMatrix. A 3D matrix is
used to rotate, scale, translate, or skew the objects in a three-dimensional
space. A 3D matrix is represented by a 4 by 4 matrix.
You create an identity matrix by creating a 3D Matrix with an empty
constructor.
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| getM11 |
Gets the value of the m11 property. |
| getM12 |
Gets the value of the m12 property. |
| getM13 |
Gets the value of the m13 property. |
| getM14 |
Gets the value of the m14 property. |
| getM21 |
Gets the value of the m21 property. |
| getM22 |
Gets the value of the m22 property. |
| getM23 |
Gets the value of the m23 property. |
| getM24 |
Gets the value of the m24 property. |
| getM31 |
Gets the value of the m31 property. |
| getM32 |
Gets the value of the m32 property. |
| getM33 |
Gets the value of the m33 property. |
| getM34 |
Gets the value of the m34 property. |
| getM41 |
Gets the value of the m41 property. |
| getM42 |
Gets the value of the m42 property. |
| getM43 |
Gets the value of the m43 property. |
| getM44 |
Gets the value of the m44 property. |
| invert |
Returns a matrix constructed by inverting an existing matrix |
| multiply |
Returns a matrix constructed by combining two existing matrix. |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| rotate |
Returns a matrix constructed by rotating an existing matrix |
| scale |
Returns a matrix constructed by scaling an existing matrix |
| setM11 |
Sets the value of the m11 property. |
| setM12 |
Sets the value of the m12 property. |
| setM13 |
Sets the value of the m13 property. |
| setM14 |
Sets the value of the m14 property. |
| setM21 |
Sets the value of the m21 property. |
| setM22 |
Sets the value of the m22 property. |
| setM23 |
Sets the value of the m23 property. |
| setM24 |
Sets the value of the m24 property. |
| setM31 |
Sets the value of the m31 property. |
| setM32 |
Sets the value of the m32 property. |
| setM33 |
Sets the value of the m33 property. |
| setM34 |
Sets the value of the m34 property. |
| setM41 |
Sets the value of the m41 property. |
| setM42 |
Sets the value of the m42 property. |
| setM43 |
Sets the value of the m43 property. |
| setM44 |
Sets the value of the m44 property. |
| translate |
Returns a matrix constructed by translating an existing matrix |
| Name | Type | Summary |
|---|---|---|
| m11 | Number |
The entry at position [1,1] in the matrix. |
| m12 | Number |
The entry at position [1,2] in the matrix. |
| m13 | Number |
The entry at position [1,3] in the matrix. |
| m14 | Number |
The entry at position [1,4] in the matrix. |
| m21 | Number |
The entry at position [2,1] in the matrix. |
| m22 | Number |
The entry at position [2,2] in the matrix. |
| m23 | Number |
The entry at position [2,3] in the matrix. |
| m24 | Number |
The entry at position [2,4] in the matrix. |
| m31 | Number |
The entry at position [3,1] in the matrix. |
| m32 | Number |
The entry at position [3,2] in the matrix. |
| m33 | Number |
The entry at position [3,3] in the matrix. |
| m34 | Number |
The entry at position [3,4] in the matrix. |
| m41 | Number |
The entry at position [4,1] in the matrix. |
| m42 | Number |
The entry at position [4,2] in the matrix. |
| m43 | Number |
The entry at position [4,3] in the matrix. |
| m44 | Number |
The entry at position [4,4] in the matrix. |