文档

Unity Engine

Unity Engine

renderingLayerMask

Determines which rendering layers the Terrain renderer lives on.
阅读时间1 分钟最后更新于 14 小时前

Definition

public uint renderingLayerMask { get; set; }

Remarks

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.