# PhysicsWorld.WorldCounters

> PhysicsWorld counters that give details of the world simulation size.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public struct PhysicsWorld.WorldCounters
```

## Properties

| Property                                                                                                                                     | Description                                                          |
| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [bodyCount](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/bodycount.md)                           | The number of all body types.                                        |
| [broadphaseHeight](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/broadphaseheight.md)             | The broadphase tree height for both Dynamic and Kinematic bodies.    |
| [contactCount](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/contactcount.md)                     | The number of contacts.                                              |
| [islandCount](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/islandcount.md)                       | The number of islands.                                               |
| [jointCount](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/jointcount.md)                         | The number of joints.                                                |
| [memoryUsed](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/memoryused.md)                         | The total byte allocation used by the physics system.                |
| [shapeCount](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/shapecount.md)                         | The number of shapes.                                                |
| [stackUsed](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/stackused.md)                           | The number of bytes assigned to the Stack allocator.                 |
| [staticBroadphaseHeight](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/staticbroadphaseheight.md) | The broadphase tree height for Static bodies.                        |
| [taskCount](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/taskcount.md)                           | The number of multi-threaded tasks requested solving the simulation. |

## Static Methods

| Method                                                                                                         | Description                                           |
| -------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [Add](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/add.md)         | Add the specified world counters together.            |
| [Maximum](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d/physicsworld/worldcounters/maximum.md) | Find the maximum values the specified world counters. |
