# 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.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.SceneManagement](/engine/6000.0/script-reference/unityeditor/scenemanagement.md)
* **Assembly:** UnityEditor

```csharp
public static void SetSceneCullingMask(Scene scene, ulong sceneCullingMask)
```

### Parameters

**** (\[Scene]\(/engine/6000.0/script-reference/unityengine/scenemanagement/scene)): The scene to set the culling mask on.**** (\[ulong]\(https\://learn.microsoft.com/dotnet/api/system.uint64)): The value of the culling mask, stored as a bitfield.
