PhysicsSpace.CastResult
The narrowphase cast results.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IEquatable<CastResult>
public readonly struct PhysicsSpace.CastResult : IEquatable<PhysicsSpace.CastResult>
Constructors
Constructor | Description |
|---|---|
| CastResult(Unity.U2D.Physics.PhysicsSpace.ProxyResult,Unity.U2D.Physics.PhysicsQuery.CastResult) | Create a narrowphase result. |
Properties
Property | Description |
|---|---|
| castResult | The narrowphase result (actual). |
| proxyResult | The proxy result (proxy). |
Structs
Struct | Description |
|---|---|
| PhysicsSpace.CastResult.SortAscendingOrder | Ascending distance sort comparer. |