Union(PhysicsAABB)
Create a union of the specified AABB and this AABB where resulting AABB completely encapsulates both AABB.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly PhysicsAABB Union(PhysicsAABB aabb)
Parameters
The AABB to create a union with.
Returns
Type | Description |
|---|---|
| PhysicsAABB | The results of the union. |