기술 자료

Unity Engine

Unity Engine

modelview

Gets or sets the modelview matrix.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Matrix4x4 modelview { get; set; }

Remarks

The getter returns the product of the model and view matrices. The setter assigns an identity to the model matrix and the provided matrix to the view matrix.
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.