Matrix4x4.SetTRS Manual     Reference     Scripting  
Scripting > Runtime Classes > Matrix4x4
Matrix4x4.SetTRS

function SetTRS (pos : Vector3, q : Quaternion, s : Vector3) : void

Description

Sets this matrix to a translation, rotation and scaling matrix.

The current matrix is modified so that places things at position pos, oriented in rotation q and scaled by s.