Matrix4x4.TRS

static function TRS (pos : Vector3, q : Quaternion, s : Vector3) : Matrix4x4

Description

Creates a translation, rotation and scaling matrix.

The returned matrix is such that places things at position pos, oriented in rotation q and scaled by s.