Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetSceneCullingMask(Scene, ulong)

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.
Read time 1 minuteLast updated 4 days ago

Definition

public static void SetSceneCullingMask(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.