Matrix4.SetTRS

Matrix4.SetTRS method

Initializes the matrix with translation/rotation/scale

public void SetTRS(Vector3 translation, Vector3 rotation, Vector3 scale)
ParameterTypeDescription
translationVector3Translation.
rotationVector3Euler angles for rotation, fields are in degree.
scaleVector3Scale.

See Also