Version: 2023.2

RenderParams.sceneCullingMask

切换到手册
public ulong sceneCullingMask ;

描述

Overrides the scene culling mask for the rendered object. This can help you control prefab stage visibility or entities sub-scene visibiliy. This property is only available in the Editor, you can still access it in a Player but it'll be ignored..

This property is similar to the GameObject.sceneCullingMask property.