15 #include "physxForceFieldShapeGroupDesc.h" 26 _desc.shapes.push_back(desc.ptr());
38 _name = name ? name :
"";
39 _desc.name = _name.c_str();
61 set_flag(
const PhysxForceFieldShapeGroupFlag flag,
bool value) {
67 _desc.flags &= ~(flag);
78 get_flag(
const PhysxForceFieldShapeGroupFlag flag)
const {
80 return (_desc.flags & flag) ? true :
false;
Abstract base class for descriptors for force field shapes descriptors.
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.
void set_name(const char *name)
Sets the optional debug name for the force field shape group.
bool get_flag(PhysxForceFieldShapeGroupFlag flag) const
Returns the specified force field shape group flag.
void set_flag(PhysxForceFieldShapeGroupFlag flag, bool value)
Raise or lower individual force field shape group flags.