PhysicsWorld.WorldCounters
PhysicsWorld counters that give details of the world simulation size.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public struct PhysicsWorld.WorldCounters
Properties
Property | Description |
|---|---|
| bodyCount | The number of all body types. |
| broadphaseHeight | The broadphase tree height for both Dynamic and Kinematic bodies. |
| contactCount | The number of contacts. |
| islandCount | The number of islands. |
| jointCount | The number of joints. |
| memoryUsed | The total byte allocation used by the physics system. |
| shapeCount | The number of shapes. |
| stackUsed | The number of bytes assigned to the Stack allocator. |
| staticBroadphaseHeight | The broadphase tree height for Static bodies. |
| taskCount | The number of multi-threaded tasks requested solving the simulation. |