Renderer.renderingLayerMask

Cambiar al Manual
public uint renderingLayerMask ;

Descripción

Determines which rendering layer this renderer lives on.

When using a scriptable render pipeline, you can specify an additional rendering-specific layer mask. This filters the renderers based on the mask the renderer has and the mask passed to the DrawRenderers command.