文档

Unity Engine

Download Unity

Unity Engine

cullingLayerMask

The cullingLayerMask value of the object from which the culling is invoked. The draw command is discarded by the internal culling if the expression (1 << layer) & cullingLayerMask is false. Using this field is optional, use it for performance or other optimization purposes.
阅读时间1 分钟最后更新于 2 个月前

Definition

public readonly uint cullingLayerMask