15 #ifndef PHYSXSCENEDESC_H
16 #define PHYSXSCENEDESC_H
18 #include "pandabase.h"
21 #include "physxEnums.h"
22 #include "physx_includes.h"
34 INLINE ~PhysxSceneDesc();
36 INLINE
void set_to_default();
37 INLINE
bool is_valid()
const;
39 void set_flag(PhysxSceneFlag flag,
bool value);
40 void set_gravity(
const LVector3f &gravity);
42 void set_static_structure(PhysxPruningStructure value);
43 void set_dynamic_structure(PhysxPruningStructure value);
44 void set_bp_type(PhysxBroadPhaseType value);
45 void set_subdivision_level(
unsigned int value);
46 void set_num_grid_cells_x(
unsigned int value);
47 void set_num_grid_cells_y(
unsigned int value);
49 bool get_flag(PhysxSceneFlag flag)
const;
52 PhysxPruningStructure get_static_structure()
const;
53 PhysxPruningStructure get_dynamic_structure()
const;
54 PhysxBroadPhaseType get_bp_type()
const;
55 unsigned int get_subdivision_level()
const;
56 unsigned int get_num_grid_cells_x()
const;
57 unsigned int get_num_grid_cells_y()
const;
63 #include "physxSceneDesc.I"
65 #endif // PHYSXSCENEDESC_H
Descriptor for PhysxScene.
Represention of a axis aligned bounding box.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This class exists just to provide scoping for the enums shared by PhysX classes.