ドキュメント

Unity Engine

Unity Engine

isFiltering

Given the current state of the contact filter, determine whether it would filter anything.
読み終わるまでの所要時間 1 分最終更新 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.