Documentation

Unity Engine


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 a month ago

Definition

public readonly uint cullingLayerMask