batchLayerMask
Represents which BatchRendererGroup batch layers to enable for rendering.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public uint batchLayerMask { get; set; }
Remarks
Unity renders the object if you enable the BatchFilterSettings.batchLayer value in this bit mask. You can use BatchFilterSettings.batchLayer to specify a batch layer in each BatchDrawRange.
Objects that are not rendered using BatchRendererGroup are in batch layer , so you can use bit 0 of to control whether they're included in this renderer list.
0batchLayerMask