Class LM_Matrix

Version added: before 9.5
The LM_Matrix class is used to represent a 4x4 transformation matrix. Matrix objects are used to transform points in 3D space.

Methods:

Name Returns Description Version added
Identity void Set the matrix to be an identity matrix before 9.5
Invert void Invert the matrix before 9.5
Multiply void Multiplies two matrices before 9.5
Perspective void Prepend a perspective transform onto the current matrix before 9.5
Rotate void Prepend a rotation onto the current matrix before 9.5
Scale void Prepend a scale onto the current matrix before 9.5
ScaleValue real before 9.5
Set void Set the value of a matrix by copying an existing matrix before 9.5
Transform void Apply a matrix transformation to a 2D vector object before 9.5
Transform void Apply a matrix transformation to a bounding box object before 9.5
Transform void Apply a matrix transformation to a 3D vector object before 9.5
Translate void Prepend a translation onto the current matrix before 9.5