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