useInstancing
Indicates whether this detail prototype uses GPU Instancing for rendering.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public bool useInstancing { get; set; }
Remarks
When you set this value to true, Unity uses the Material and Shader used by the DetailPrototype.prototype GameObject for rendering.
Currently this setting is only effective when you specify DetailRenderMode.VertexLit as the DetailPrototype.renderMode.