14#ifndef PHYSXHEIGHTFIELDSHAPE_H
15#define PHYSXHEIGHTFIELDSHAPE_H
35class EXPCL_PANDAPHYSX PhysxHeightFieldShape :
public PhysxShape {
38 INLINE PhysxHeightFieldShape();
39 INLINE ~PhysxHeightFieldShape();
44 INLINE NxShape *ptr()
const {
return (NxShape *)_ptr; };
46 void link(NxShape *shapePtr);
50 NxHeightFieldShape *_ptr;
56 static void init_type() {
57 PhysxShape::init_type();
59 PhysxShape::get_class_type());
62 return get_class_type();
66 return get_class_type();
Descriptor class for PhysxHeightFieldShape.
void save_to_desc(PhysxHeightFieldShapeDesc &shapeDesc) const
Saves the state of the shape object to a descriptor.
TypeHandle is the identifier used to differentiate C++ class types.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...