Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MultMatrix(Matrix4x4)

Sets the current model matrix to the one specified.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void MultMatrix(Matrix4x4 m)

Parameters

Remarks

The model matrix is typically the local-to-world matrix of the object being drawn.
Changing the model, view or projection matrices overrides the current rendering matrices. It is good practice to save and restore these matrices using GL.PushMatrix and GL.PopMatrix.