15 #ifndef PHYSXHEIGHTFIELDSHAPEDESC_H
16 #define PHYSXHEIGHTFIELDSHAPEDESC_H
18 #include "pandabase.h"
20 #include "physxShapeDesc.h"
21 #include "physx_includes.h"
33 INLINE ~PhysxHeightFieldShapeDesc();
35 void set_to_default();
36 INLINE
bool is_valid()
const;
39 void set_dimensions(
const LVector3f &dimensions);
40 void set_hole_material(
unsigned short index);
41 void set_material_index_high_bits(
unsigned short index);
43 unsigned short get_hole_material()
const;
44 unsigned short get_material_index_hight_bits()
const;
47 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
48 NxHeightFieldShapeDesc _desc;
51 #include "physxHeightFieldShapeDesc.I"
53 #endif // PHYSXHEIGHTFIELDSHAPEDESC_H
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
Descriptor class for PhysxHeightFieldShape.
Abstract base class for shape descriptors.