layerMask
A value that indicates which layers are accepted by this testing configuration.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int layerMask
Remarks
If a Renderer's layer is not matching the layer mask then the test fails.
If all layers are accepted, use -1 for this value.