EditorSceneManager.SetSceneCullingMask

public static void SetSceneCullingMask(SceneManagement.Scene scene, ulong sceneCullingMask);

Parameters

sceneThe scene to set the culling mask on.
sceneCullingMaskThe value of the culling mask, stored as a bitfield.

Description

Set the culling mask on this scene to this value. Cameras will only render objects in Scenes that have the same bits set in their culling mask.

Did you find this page useful? Please give it a rating: