14#ifndef PHYSXFORCEFIELDSHAPEGROUPDESC_H
15#define PHYSXFORCEFIELDSHAPEGROUPDESC_H
27class EXPCL_PANDAPHYSX PhysxForceFieldShapeGroupDesc :
public PhysxEnums {
30 INLINE PhysxForceFieldShapeGroupDesc();
31 INLINE ~PhysxForceFieldShapeGroupDesc();
39 void set_flag(PhysxForceFieldShapeGroupFlag flag,
bool value);
42 bool get_flag(PhysxForceFieldShapeGroupFlag flag)
const;
45 NxForceFieldShapeGroupDesc _desc;
This class exists just to provide scoping for the enums shared by PhysX classes.
Abstract base class for descriptors for force field shapes descriptors.
bool is_valid() const
Returns true if the descriptor is valid.
const char * get_name() const
Returns the optional debug name for this force field shape group.
void add_shape(PhysxForceFieldShapeDesc &desc)
Adds a shape to the list of force field shapes composing this shape group.
bool get_flag(PhysxForceFieldShapeGroupFlag flag) const
Returns the specified force field shape group flag.
void set_name(const char *name)
Sets the optional debug name for the force field shape group.
void set_flag(PhysxForceFieldShapeGroupFlag flag, bool value)
Raise or lower individual force field shape group flags.
void set_to_default()
(re)sets the structure to the default.
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.