Wallpaper Engine Wiki
Advertisement

Mat4 utility class.

Constructors[]

  • constructor(): Mat4

Creates an identity matrix.

Functions[]

If position is specified, it will change the translation vector of the matrix and return nothing. If position is not specified, it will return the current translation vector.

Advertisement