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 , 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.