기술 자료

Unity Engine

Unity Engine

isFiltering

Given the current state of the contact filter, determine whether it would filter anything.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public bool isFiltering { get; }

Remarks

This property checks the following properties and returns true, indicating filtering is enabled; ContactFilter2D.useTriggers, ContactFilter2D.useLayerMask, ContactFilter2D.useDepth and ContactFilter2D.useNormalAngle.