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. More...
 
uint mMaxBodies = 0
 Max allowed number of bodies in the body manager (as configured in Init(...)) More...
 
uint mNumBodiesStatic = 0
 Number of static bodies. More...
 
uint mNumBodiesDynamic = 0
 Number of dynamic bodies. More...
 
uint mNumActiveBodiesDynamic = 0
 Number of dynamic bodies that are currently active. More...
 
uint mNumBodiesKinematic = 0
 Number of kinematic bodies. More...
 
uint mNumActiveBodiesKinematic = 0
 Number of kinematic bodies that are currently active. More...
 
uint mNumSoftBodies = 0
 Number of soft bodies. More...
 
uint mNumActiveSoftBodies = 0
 Number of soft bodies that are currently active. More...
 

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: