forceMeshLod
Force Unity to use a specific Mesh LOD if the mesh has Mesh LODs.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int forceMeshLod { readonly get; set; }
Remarks
If the value is -1, Unity uses the following:
- LOD0 at all times, if you use Graphics.RenderMeshInstanced, Graphics.RenderMeshIndirect, or Graphics.RenderMeshPrimitives
- The default Mesh LOD selection method, if you use Graphics.RenderMesh.