Renderer.renderingLayerMask
public uint renderingLayerMask;
Description 描述
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.