15 #ifndef PHYSXSPHEREFORCEFIELDSHAPEDESC_H 16 #define PHYSXSPHEREFORCEFIELDSHAPEDESC_H 18 #include "pandabase.h" 20 #include "physxForceFieldShapeDesc.h" 21 #include "physx_includes.h" 31 INLINE ~PhysxSphereForceFieldShapeDesc();
33 INLINE
void set_to_default();
34 INLINE
bool is_valid()
const;
36 void set_radius(
float radius);
38 float get_radius()
const;
41 NxForceFieldShapeDesc *ptr()
const {
return (NxForceFieldShapeDesc *)&_desc; };
42 NxSphereForceFieldShapeDesc _desc;
45 #include "physxSphereForceFieldShapeDesc.I" 47 #endif // PHYSXSPHEREFORCEFIELDSHAPEDESC_H Abstract base class for descriptors for force field shapes descriptors.
A descriptor for a sphere force field shape.