14 #ifndef PHYSXHEIGHTFIELDSHAPEDESC_H 15 #define PHYSXHEIGHTFIELDSHAPEDESC_H 33 void set_to_default();
34 INLINE
bool is_valid()
const;
37 void set_dimensions(
const LVector3f &dimensions);
38 void set_hole_material(
unsigned short index);
39 void set_material_index_high_bits(
unsigned short index);
41 unsigned short get_hole_material()
const;
42 unsigned short get_material_index_hight_bits()
const;
45 NxShapeDesc *ptr()
const {
return (NxShapeDesc *)&_desc; };
46 NxHeightFieldShapeDesc _desc;
51 #endif // PHYSXHEIGHTFIELDSHAPEDESC_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Descriptor class for PhysxHeightFieldShape.
Abstract base class for shape descriptors.