15 #ifndef PHYSXHEIGHTFIELDDESC_H 16 #define PHYSXHEIGHTFIELDDESC_H 18 #include "pandabase.h" 21 #include "physx_includes.h" 35 INLINE ~PhysxHeightFieldDesc();
37 INLINE
void set_to_default();
38 INLINE
bool is_valid()
const;
40 INLINE
void set_size(
unsigned int num_rows,
unsigned int num_columns);
42 void set_image(
const PNMImage &image,
unsigned short materialIndex=0);
43 void set_thickness(
float thickness);
44 void set_convex_edge_threshold(
float threshold);
46 void set_height(
unsigned int row,
unsigned int column,
short height);
47 void set_tess_flag(
unsigned int row,
unsigned int column,
unsigned short value);
48 void set_material_index(
unsigned int row,
unsigned int column,
49 unsigned short materialIndex0,
unsigned short materialIndex1);
52 NxHeightFieldDesc _desc;
57 INLINE
void unset_size();
60 #include "physxHeightFieldDesc.I" 62 #endif // PHYSXHEIGHTFIELDDESC_H The name of this class derives from the fact that we originally implemented it as a layer on top of t...
Descriptor class for height fields.