GET SCALE MATRIX: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=GET_SCALE_MATRIX <matrix array>, <scale> |description=*DESCRPTION* |param1=<matrix array>|param1_desc= |param2=<scale>|param2_desc= }} ===Example=== :- GET_SCALE_MATRIX ... |
No edit summary |
||
| Line 2: | Line 2: | ||
|description=*DESCRPTION* | |description=*DESCRPTION* | ||
|param1=<matrix array>|param1_desc= | |param1=<matrix array>|param1_desc={{matrix array}} | ||
|param2=<scale>|param2_desc= | |param2=<scale>|param2_desc={{scale}} | ||
}} | }} | ||
Revision as of 18:49, 16 July 2010
Command
- GET_SCALE_MATRIX <matrix array>, <scale>
- DESCRPTION*
Parameters
- <matrix array>
- A transformation matrix contains 12 values. These are stored in an array variable that must be defined to hold at least 12 values. If the array variable is defined with a size of more than 12, the first 12 values are used for the transformation matrix.
- <scale>
- The scale factor to be applied. 1 would be no scale, 0.5 half scale, 1.5 increase by 50%.
Example
- - GET_SCALE_MATRIX