modelview
Gets or sets the modelview matrix.
阅读时间1 分钟最后更新于 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.