Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

ContactFilter2D.isFiltering

public bool isFiltering;

Description

Given the current state of the contact filter, determine whether it would filter anything.

This property checks the following properties and returns true, indicating filtering is enabled; useTriggers, useLayerMask, useDepth and useNormalAngle.

Did you find this page useful? Please give it a rating: