# Trans_Scale

Arithmetics
5.1 OC
array
int sx Magnification factor in X direction.
int sy Magnification factor in Y direction.
int sz Magnification factor in Z direction.
Returns a 3x4 scaling matrix. It can be used as a transformation for AttachMesh or for the "PictureTransformation" or "MeshTransformation" properties (see Meshes).
If both `sy` and `sz` are not given or are given as 0 then the factor `sx` is 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.
Trans_Identity
Trans_Translate
Trans_Rotate
Trans_Mul
AttachMesh
SetAttachTransform
Clonk-Karl
2010-04