# SetShowPhysicsSceneMask

> Should the scene mask be considered by the display filter.

## Definition

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

## SetShowPhysicsSceneMask(int)

Should the scene mask be considered by the display filter.

```csharp
public static void SetShowPhysicsSceneMask(int mask)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

## SetShowPhysicsSceneMask(FilterWorkflow, int)

Should the scene mask be considered by the display filter.

> **Warning:**
>
> **Removed.** Enum PhysicsVisualizationSettings.FilterWorkflow has been deprecated. Use APIs without this argument instead

```csharp
public static void SetShowPhysicsSceneMask(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, int mask)
```

### Parameters

**** (\[FilterWorkflow]\(/engine/6000.5/script-reference/unityeditor/physicsvisualizationsettings/filterworkflow)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;
