Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
BodyManager::BodyStats Struct Reference

Helper struct that counts the number of bodies of each type. More...

#include <BodyManager.h>

Public Attributes

uint mNumBodies = 0
 Total number of bodies in the body manager.
 
uint mMaxBodies = 0
 Max allowed number of bodies in the body manager (as configured in Init(...))
 
uint mNumBodiesStatic = 0
 Number of static bodies.
 
uint mNumBodiesDynamic = 0
 Number of dynamic bodies.
 
uint mNumActiveBodiesDynamic = 0
 Number of dynamic bodies that are currently active.
 
uint mNumBodiesKinematic = 0
 Number of kinematic bodies.
 
uint mNumActiveBodiesKinematic = 0
 Number of kinematic bodies that are currently active.
 
uint mNumSoftBodies = 0
 Number of soft bodies.
 
uint mNumActiveSoftBodies = 0
 Number of soft bodies that are currently active.
 

Detailed Description

Helper struct that counts the number of bodies of each type.

Member Data Documentation

◆ mMaxBodies

uint BodyManager::BodyStats::mMaxBodies = 0

Max allowed number of bodies in the body manager (as configured in Init(...))

◆ mNumActiveBodiesDynamic

uint BodyManager::BodyStats::mNumActiveBodiesDynamic = 0

Number of dynamic bodies that are currently active.

◆ mNumActiveBodiesKinematic

uint BodyManager::BodyStats::mNumActiveBodiesKinematic = 0

Number of kinematic bodies that are currently active.

◆ mNumActiveSoftBodies

uint BodyManager::BodyStats::mNumActiveSoftBodies = 0

Number of soft bodies that are currently active.

◆ mNumBodies

uint BodyManager::BodyStats::mNumBodies = 0

Total number of bodies in the body manager.

◆ mNumBodiesDynamic

uint BodyManager::BodyStats::mNumBodiesDynamic = 0

Number of dynamic bodies.

◆ mNumBodiesKinematic

uint BodyManager::BodyStats::mNumBodiesKinematic = 0

Number of kinematic bodies.

◆ mNumBodiesStatic

uint BodyManager::BodyStats::mNumBodiesStatic = 0

Number of static bodies.

◆ mNumSoftBodies

uint BodyManager::BodyStats::mNumSoftBodies = 0

Number of soft bodies.


The documentation for this struct was generated from the following file: