기술 자료

Unity Engine

Unity Engine

NoFilter()

Sets the contact filter to not filter any ContactPoint2D.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public ContactFilter2D NoFilter()

Returns

Type

Description

ContactFilter2DA copy of the contact filter set to not filter any ContactPoint2D.

Remarks

When you are using a function that requires a ContactFilter2D, but you don't want to perform any filtering, then use this function to return a ContactFilter2D that turns off any filtering.