useInstancing
Indicates whether this detail prototype uses GPU Instancing for rendering.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public bool useInstancing { get; set; }
Remarks
When you set this value to , Unity uses the Material and Shader used by the DetailPrototype.prototype GameObject for rendering.
trueCurrently this setting is only effective when you specify DetailRenderMode.VertexLit as the DetailPrototype.renderMode.