# IPhysicsResultFilter<T>

> A filter applied to each element of a physics result array during enumeration.

## Definition

* **Type:** Interface
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public interface IPhysicsResultFilter<T> where T : unmanaged
```

## Remarks

Implement this on a value type so the enumeration inlines, allocates nothing, and runs inside Burst. Any arguments the filter needs are carried as fields on the implementing struct.
