isFiltering
Given the current state of the contact filter, determine whether it would filter anything.
Read time 1 minuteLast updated 5 days ago
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.