# SetShowCollisionLayerMask

> Should the mask representing the layers be considered by the display filter.

## Definition

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

## SetShowCollisionLayerMask(int)

Should the mask representing the layers be considered by the display filter.

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

### Parameters

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

### Remarks

Additional Resources: [LayerMask](/engine/6000.5/script-reference/unityengine/layermask.md).

## SetShowCollisionLayerMask(FilterWorkflow, int)

Should the mask representing the layers be considered by the display filter.

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

```csharp
public static void SetShowCollisionLayerMask(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;

### Remarks

Additional Resources: [LayerMask](/engine/6000.5/script-reference/unityengine/layermask.md).
