Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LoadIdentity()

Load an identity into the current model and view matrices.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void LoadIdentity()

Remarks

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.
Additional Resources: GL.MultMatrix.