# Trans_Mul

Arithmetics
5.1 OC
array
array first First matrix as returned by Trans_Identity, Trans_Translate, Trans_Rotate or Trans_Scale.
array second Second matrix.
array ... An arbitrary number of other matrices.
Multiplies two or more 3x4 transformation matrices in the given order. This way the effects of more than one transformation can be combined. The result can be used as a transformation for AttachMesh or for the "PictureTransformation" or "MeshTransformation" properties (see Meshes).
this
["PictureTransformation"] = Trans_Mul(Trans_Translate(7000), Trans_Rotate(20, 0, 1, 0));
Rotates the picture graphics of the calling object by 20 degrees around the Y axis and afterwards displaces it by 7 units into Z direction towards the camera.
Trans_Identity
Trans_Translate
Trans_Rotate
Trans_Scale
AttachMesh
SetAttachTransform
Clonk-Karl
2010-04