기술 자료

Unity Engine

Unity Engine

allowInstancing

Allows the visual effect to be batched with others of the same type.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine.VFX
  • Assembly: UnityEngine.VFXModule
public bool allowInstancing { get; set; }

Remarks

Instancing feature allows several instances of the same visual effect asset to share the same buffers and be updated together, improving performance. This property allows this visual effect to opt-out when instancing is enabled in the visual effect asset. If this property is set to false, this visual effect will use a batch with just this instance.