forceMeshLod
Force Unity to use a specific Mesh LOD if the mesh has Mesh LODs.
Read time 1 minuteLast updated 4 days ago
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 or Graphics.RenderMeshPrimitives
- The default Mesh LOD selection method, if you use Graphics.RenderMesh.