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

パラメーター

scene The scene to set the culling mask on.
sceneCullingMask The value of the culling mask, stored as a bitfield.

説明

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.