# PhysicsSpace.CastResult

> The narrowphase cast results.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IEquatable\<CastResult>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public readonly struct PhysicsSpace.CastResult : IEquatable<PhysicsSpace.CastResult>
```

## Constructors

| Constructor                                                                                                                                                                           | Description                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| [CastResult(Unity.U2D.Physics.PhysicsSpace.ProxyResult,Unity.U2D.Physics.PhysicsQuery.CastResult)](/engine/6000.6/script-reference/unity/u2d/physics/physicsspace/castresult/ctor.md) | Create a narrowphase result. |

## Properties

| Property                                                                                                | Description                      |
| ------------------------------------------------------------------------------------------------------- | -------------------------------- |
| [castResult](/engine/6000.6/script-reference/unity/u2d/physics/physicsspace/castresult/castresult.md)   | The narrowphase result (actual). |
| [proxyResult](/engine/6000.6/script-reference/unity/u2d/physics/physicsspace/castresult/proxyresult.md) | The proxy result (proxy).        |

## Structs

| Struct                                                                                                                                       | Description                       |
| -------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| [PhysicsSpace.CastResult.SortAscendingOrder](/engine/6000.6/script-reference/unity/u2d/physics/physicsspace/castresultsortascendingorder.md) | Ascending distance sort comparer. |
