GetAABB()
Get the world AABB that bounds all the shapes attached to this body. If there are no shapes attached to the body then the returned AABB is empty and centered on the body origin.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsAABB GetAABB()
Returns
Type | Description |
|---|---|
| PhysicsAABB | The world AABB that bounds all the shapes attached to this body. |