기술 자료

Unity Engine

Unity Engine

useInstancing

Indicates whether this detail prototype uses GPU Instancing for rendering.
읽는 시간 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.