noFilter
Returns a new contact filter with a state where it will not filter any contacts.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public static ContactFilter2D noFilter { get; }
Remarks
The returned filter has the following state:
-
_useTriggers =
true -
_useLayerMask =
false -
_useDepth =
false -
_useOutsideDepth =
false -
_useNormalAngle =
false -
_useOutsideNormalAngle =
false -
_minNormalAngle =
0.0f