Matrix.TRS

static Matrix TRS(Vec3 translation, Quat rotation, float scale)

   
Vec3 translation Move an object by this amount.
Quat rotation A Quaternion describing the rotation for this transform.
float scale How much larger or smaller this transform makes things. 1 is a good default, as 0 will shrink it to nothing! This will expand to a scale vector of (size, size, size)
RETURNS: Matrix A Matrix that combines translation, roatation, and scale information into a single Matrix!

Translate, Rotate, Scale. Creates a transform Matrix using all these components!

static Matrix TRS(Vec3 translation, Quat rotation, Vec3 scale)

   
Vec3 translation Move an object by this amount.
Quat rotation A Quaternion describing the rotation for this transform.
Vec3 scale How much larger or smaller this transform makes things. Vec3.One is a good default, as Vec3.Zero will shrink it to nothing!
RETURNS: Matrix A Matrix that combines translation, roatation, and scale information into a single Matrix!

Translate, Rotate, Scale. Creates a transform Matrix using all these components!