Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetShowCollisionLayerMask

Should the mask representing the layers be considered by the display filter.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

GetShowCollisionLayerMask()

Should the mask representing the layers be considered by the display filter.
public static int GetShowCollisionLayerMask()

Returns

Type

Description

int

Remarks

Additional Resources: LayerMask.

GetShowCollisionLayerMask(FilterWorkflow)

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
public static int GetShowCollisionLayerMask(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)

Parameters

filterWorkflow

Returns

Type

Description

int

Remarks

Additional Resources: LayerMask.