noFilter
Returns a new contact filter with a state where it will not filter any contacts.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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