Panda3D
Public Member Functions | Public Attributes

PhysxForceFieldShapeGroupDesc Class Reference

Inheritance diagram for PhysxForceFieldShapeGroupDesc:
PhysxEnums

List of all members.

Public Member Functions

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.
const char * get_name () const
 Returns the optional debug name for this force field shape group.
bool is_valid () const
 Returns true if the descriptor is valid.
void set_flag (PhysxForceFieldShapeGroupFlag flag, bool value)
 Raise or lower individual force field shape group flags.
void set_name (const char *name)
 Sets the optional debug name for the force field shape group.
void set_to_default ()
 (re)sets the structure to the default.

Public Attributes

NxForceFieldShapeGroupDesc _desc

Detailed Description

Definition at line 29 of file physxForceFieldShapeGroupDesc.h.


Member Function Documentation

void PhysxForceFieldShapeGroupDesc::add_shape ( PhysxForceFieldShapeDesc desc)

Adds a shape to the list of force field shapes composing this shape group.

Definition at line 24 of file physxForceFieldShapeGroupDesc.cxx.

bool PhysxForceFieldShapeGroupDesc::get_flag ( PhysxForceFieldShapeGroupFlag  flag) const

Returns the specified force field shape group flag.

Definition at line 78 of file physxForceFieldShapeGroupDesc.cxx.

const char * PhysxForceFieldShapeGroupDesc::get_name ( ) const

Returns the optional debug name for this force field shape group.

Definition at line 49 of file physxForceFieldShapeGroupDesc.cxx.

bool PhysxForceFieldShapeGroupDesc::is_valid ( ) const [inline]

Returns true if the descriptor is valid.

Definition at line 56 of file physxForceFieldShapeGroupDesc.I.

void PhysxForceFieldShapeGroupDesc::set_flag ( PhysxForceFieldShapeGroupFlag  flag,
bool  value 
)

Raise or lower individual force field shape group flags.

Definition at line 61 of file physxForceFieldShapeGroupDesc.cxx.

void PhysxForceFieldShapeGroupDesc::set_name ( const char *  name)

Sets the optional debug name for the force field shape group.

Definition at line 36 of file physxForceFieldShapeGroupDesc.cxx.

Referenced by set_to_default().

void PhysxForceFieldShapeGroupDesc::set_to_default ( ) [inline]

(re)sets the structure to the default.

Definition at line 44 of file physxForceFieldShapeGroupDesc.I.

References set_name().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations