文档

Unity Engine

Unity Engine

SetShowCollisionLayerMask

Should the mask representing the layers be considered by the display filter.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

SetShowCollisionLayerMask(int)

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

Parameters

mask

Remarks

Additional Resources: LayerMask.

SetShowCollisionLayerMask(FilterWorkflow, int)

Should the mask representing the layers be considered by the display filter.
警告
Removed. Enum PhysicsVisualizationSettings.FilterWorkflow has been deprecated. Use APIs without this argument instead
public static void SetShowCollisionLayerMask(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow, int mask)

Parameters

filterWorkflow


mask

Remarks

Additional Resources: LayerMask.