기술 자료

Unity Engine

Unity Engine

SetShowCollisionLayerMask

Should the mask representing the layers be considered by the display filter.
읽는 시간 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.