Transformation matrix is an array of 12 numbers in a row major mode.
Method | Description |
---|---|
sap.ui.vk.TransformationMatrix.convert3x2To4x3 |
Converts matrix from 3x2 to 4x3. |
sap.ui.vk.TransformationMatrix.convert4x3To3x2 |
Converts matrix from 4x3 to 3x2. |
sap.ui.vk.TransformationMatrix.convert4x4To3x2 |
Converts matrix from 4x4 to 3x2. |
sap.ui.vk.TransformationMatrix.convertTo3x2 |
Converts matrix from 4x4 or 4x4 to 3x2. |
sap.ui.vk.TransformationMatrix.convertTo4x3 |
Converts matrix from 4x4 to 4x3. |
sap.ui.vk.TransformationMatrix.convertTo4x4 |
Converts matrix from 4x3 to 4x4. |
sap.ui.vk.TransformationMatrix.parseValue |
Parses the given string value and converts it into an array of numbers. |
Converts matrix from 3x2 to 4x3.
Param | Type | DefaultValue | Description |
---|---|---|---|
m3x2 | number[] |
The matrix to convert. |
Converts matrix from 4x3 to 3x2.
Param | Type | DefaultValue | Description |
---|---|---|---|
m4x3 | number[] |
The matrix 4x3 to convert. |
Converts matrix from 4x4 to 3x2.
Param | Type | DefaultValue | Description |
---|---|---|---|
m4x4 | number[] |
The matrix 4x4 to convert. |
Converts matrix from 4x4 or 4x4 to 3x2.
Param | Type | DefaultValue | Description |
---|---|---|---|
m | number[] |
The matrix 4x4 or 4x3 to convert. |
Converts matrix from 4x4 to 4x3.
Param | Type | DefaultValue | Description |
---|---|---|---|
matrix4x4 | number[] |
The matrix to convert. The last column must be [0, 0, 0, 1]. |