Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isFiltering

Given the current state of the contact filter, determine whether it would filter anything.
Read time 1 minuteLast updated 4 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; _useTriggers, _useLayerMask, _useDepth and _useNormalAngle.