RSDK matrix manipulation.
More...
|
| array | Create256 () |
| | Creates a 4x4 matrix based on the decimal 256.0.
|
| void | Identity256 (matrix matrix) |
| | Sets the matrix to the identity based on the decimal 256.0.
|
| void | Multiply256 (matrix matrix, matrix a, matrix b) |
| | Multiplies two matrices based on the decimal 256.0.
|
| void | Translate256 (matrix matrix, number x, number y, number z, boolean setIdentity) |
| | Translates the matrix based on the decimal 256.0.
|
| void | Scale256 (matrix matrix, number scaleX, number scaleY, number scaleZ) |
| | Sets the matrix to a scale identity based on the decimal 256.0.
|
| void | RotateX256 (matrix matrix, number rotationY) |
| | Sets the matrix to a rotation X identity based on the decimal 256.0.
|
| void | RotateY256 (matrix matrix, number rotationY) |
| | Sets the matrix to a rotation Y identity based on the decimal 256.0.
|
| void | RotateZ256 (matrix matrix, number rotationZ) |
| | Sets the matrix to a rotation Z identity based on the decimal 256.0.
|
| void | Rotate256 (matrix matrix, number rotationX, number rotationY, number rotationZ) |
| | Sets the matrix to a rotation identity based on 256.
|
RSDK matrix manipulation.
◆ Create256()
| array RSDK.Matrix.Create256 |
( |
| ) |
|
Creates a 4x4 matrix based on the decimal 256.0.
- Returns
- Returns the matrix as an array.
◆ Identity256()
| void RSDK.Matrix.Identity256 |
( |
matrix | matrix | ) |
|
Sets the matrix to the identity based on the decimal 256.0.
- Parameters
-
| matrix | The matrix to output the values to. |
◆ Multiply256()
| void RSDK.Matrix.Multiply256 |
( |
matrix | matrix, |
|
|
matrix | a, |
|
|
matrix | b ) |
Multiplies two matrices based on the decimal 256.0.
- Parameters
-
| matrix | The matrix to output the values to. |
| a | The first matrix to use for multiplying. |
| b | The second matrix to use for multiplying. |
◆ Rotate256()
| void RSDK.Matrix.Rotate256 |
( |
matrix | matrix, |
|
|
number | rotationX, |
|
|
number | rotationY, |
|
|
number | rotationZ ) |
Sets the matrix to a rotation identity based on 256.
- Parameters
-
| matrix | The matrix to output the values to. |
| rotationX | X rotation value. |
| rotationY | Y rotation value. |
| rotationZ | Z rotation value. |
◆ RotateX256()
| void RSDK.Matrix.RotateX256 |
( |
matrix | matrix, |
|
|
number | rotationY ) |
Sets the matrix to a rotation X identity based on the decimal 256.0.
- Parameters
-
| matrix | The matrix to output the values to. |
| rotationY | X rotation value. |
◆ RotateY256()
| void RSDK.Matrix.RotateY256 |
( |
matrix | matrix, |
|
|
number | rotationY ) |
Sets the matrix to a rotation Y identity based on the decimal 256.0.
- Parameters
-
| matrix | The matrix to output the values to. |
| rotationY | Y rotation value. |
◆ RotateZ256()
| void RSDK.Matrix.RotateZ256 |
( |
matrix | matrix, |
|
|
number | rotationZ ) |
Sets the matrix to a rotation Z identity based on the decimal 256.0.
- Parameters
-
| matrix | The matrix to output the values to. |
| rotationZ | Z rotation value. |
◆ Scale256()
| void RSDK.Matrix.Scale256 |
( |
matrix | matrix, |
|
|
number | scaleX, |
|
|
number | scaleY, |
|
|
number | scaleZ ) |
Sets the matrix to a scale identity based on the decimal 256.0.
- Parameters
-
| matrix | The matrix to output the values to. |
| scaleX | X scale value. |
| scaleY | Y scale value. |
| scaleZ | Z scale value. |
◆ Translate256()
| void RSDK.Matrix.Translate256 |
( |
matrix | matrix, |
|
|
number | x, |
|
|
number | y, |
|
|
number | z, |
|
|
boolean | setIdentity ) |
Translates the matrix based on the decimal 256.0.
- Parameters
-
| matrix | The matrix to output the values to. |
| x | X position value. |
| y | Y position value. |
| z | Z position value. |
| setIdentity | Whether to set the matrix as the identity. |