Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答