기술 자료

Unity Engine

Unity Engine

PhysicsWorld.WorldCounters

PhysicsWorld counters that give details of the world simulation size.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public struct PhysicsWorld.WorldCounters

Properties

Property

Description

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.
memoryUsedThe total byte allocation used by the physics system.
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.

Static Methods

Method

Description

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