Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

GL.MultMatrix

public static void MultMatrix(Matrix4x4 m);

Description

Sets the current modelview matrix to the one specified.

This method is equivalent to glLoadMatrix(mat) in OpenGL. In other graphics APIs, the corresponding functionality is emulated.

Because changing the modelview matrix overrides the view parameters of the current camera, it is recommended that you save and restore the matrix using GL.PushMatrix and GL.PopMatrix.

Did you find this page useful? Please give it a rating: