Since engine version: 1.0 OC
Returns a 3x4 scaling matrix. It can be used as a transformation for AttachMesh or for the "PictureTransformation" or "MeshTransformation" properties (see Meshes).
array Trans_Scale(int sx, int sy, int sz);
- Magnification factor in X direction.
- [opt] Magnification factor in Y direction.
- [opt] Magnification factor in Z direction.
szare not given or are given as 0 then the factor
sxis used for all three axes. A value of 1000 does not cause any change, smaller values shrink the graphics, larger values enlarge it. Negative values can be used to mirror the graphics with respect to the corresponding axis.
this["PictureTransformation"] = Trans_Scale(2000);
Doubles the picture graphics of the calling object.