17 INLINE
unsigned int PhysxSceneStats2::
18 get_num_stats()
const {
20 return _ptr->numStats;
26 INLINE
int PhysxSceneStats2::
27 get_cur_value(
unsigned int index)
const {
29 nassertr(index < _ptr->numStats, -1);
30 return _ptr->stats[index].curValue;
36 INLINE
int PhysxSceneStats2::
37 get_max_value(
unsigned int index)
const {
39 nassertr(index < _ptr->numStats, -1);
40 return _ptr->stats[index].maxValue;
46 INLINE
const char * PhysxSceneStats2::
47 get_name(
unsigned int index)
const {
49 nassertr(index < _ptr->numStats,
"");
50 return _ptr->stats[index].name;
56 INLINE
unsigned int PhysxSceneStats2::
57 get_parent(
unsigned int index)
const {
59 nassertr(index < _ptr->numStats, 0);
60 return _ptr->stats[index].parent;