ドキュメント

Unity Engine

Unity Engine

allowInstancing

Allows the visual effect to be batched with others of the same type.
読み終わるまでの所要時間 1 分最終更新 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.