EditorSceneManager.SetSceneCullingMask

Declaration

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

Parameters

scene The scene to set the culling mask on.
sceneCullingMask The 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: