Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsWorld.WorldCounters

PhysicsWorld counters that give details of the world simulation size.
Read time 1 minuteLast updated 10 days ago

Definition

public struct PhysicsWorld.WorldCounters : IEquatable<PhysicsWorld.WorldCounters>

Properties

Property

Description

awakeContactCountThe number of contacts active during the previous simulation step.
bodyCountThe number of all body types.
broadphaseHeightThe broadphase tree height for both Dynamic and Kinematic bodies.
contactCountThe number of contacts.
islandCountThe number of islands.
jointCountThe number of joints.
recycledContactCountThe number of contacts recycled in the previous simulation step.
shapeCountThe number of shapes.
stackUsedThe number of bytes assigned to the Stack allocator.
staticBroadphaseHeightThe broadphase tree height for Static bodies.
taskCountThe number of multi-threaded tasks requested solving the simulation.
usedMemoryThe total byte allocation used by the physics system.

Static Methods

Method

Description

AddAdd the specified world counters together.
MaximumFind the maximum values the specified world counters.