noFilter
Returns a new contact filter with a state where it will not filter any contacts.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public static ContactFilter2D noFilter { get; }
Remarks
The returned filter has the following state:
-
ContactFilter2D.useTriggers =
true -
ContactFilter2D.useLayerMask =
false -
ContactFilter2D.useDepth =
false -
ContactFilter2D.useOutsideDepth =
false -
ContactFilter2D.useNormalAngle =
false