Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 6 days ago

Definition

public readonly uint cullingLayerMask