21 INLINE
unsigned int PhysxSceneStats2::
22 get_num_stats()
const {
24 return _ptr->numStats;
32 INLINE
int PhysxSceneStats2::
33 get_cur_value(
unsigned int index)
const {
35 nassertr(index < _ptr->numStats, -1);
36 return _ptr->stats[index].curValue;
44 INLINE
int PhysxSceneStats2::
45 get_max_value(
unsigned int index)
const {
47 nassertr(index < _ptr->numStats, -1);
48 return _ptr->stats[index].maxValue;
56 INLINE
const char * PhysxSceneStats2::
57 get_name(
unsigned int index)
const {
59 nassertr(index < _ptr->numStats,
"");
60 return _ptr->stats[index].name;
68 INLINE
unsigned int PhysxSceneStats2::
69 get_parent(
unsigned int index)
const {
71 nassertr(index < _ptr->numStats, 0);
72 return _ptr->stats[index].parent;