usePrototypeMesh
Indicates whether this detail prototype uses the Mesh object from the GameObject specified by _prototype.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public bool usePrototypeMesh { get; set; }
Remarks
If _renderMode is DetailRenderMode.Grass, you can set this value to either or . However, if _renderMode is DetailRenderMode.GrassBillboard, you must set this value to . And if _renderMode is DetailRenderMode.VertexLit, you must set this value to . Otherwise, this detail prototype won't render.
truefalsefalsetrue