A descriptor for a convex force field shape. More...
#include "physxConvexForceFieldShapeDesc.h"
Public Member Functions | |
bool | is_valid () const |
Returns true if the descriptor is valid. More... | |
NxForceFieldShapeDesc * | ptr () const |
void | set_mesh (PhysxConvexMesh *mesh) |
Sets the convex mesh for this force field shape. More... | |
void | set_to_default () |
(re)sets the structure to the default. More... | |
Public Member Functions inherited from PhysxForceFieldShapeDesc | |
LMatrix4f | get_mat () const |
const char * | get_name () const |
LPoint3f | get_pos () const |
void | set_hpr (float h, float p, float r) |
void | set_mat (const LMatrix4f &mat) |
void | set_name (const char *name) |
Sets a possible debug name. More... | |
void | set_pos (const LPoint3f &pos) |
Public Attributes | |
NxConvexForceFieldShapeDesc | _desc |
A descriptor for a convex force field shape.
Definition at line 27 of file physxConvexForceFieldShapeDesc.h.
|
inlinevirtual |
Returns true if the descriptor is valid.
Implements PhysxForceFieldShapeDesc.
Definition at line 45 of file physxConvexForceFieldShapeDesc.I.
void PhysxConvexForceFieldShapeDesc::set_mesh | ( | PhysxConvexMesh * | mesh | ) |
Sets the convex mesh for this force field shape.
Definition at line 21 of file physxConvexForceFieldShapeDesc.cxx.
|
inlinevirtual |
(re)sets the structure to the default.
Implements PhysxForceFieldShapeDesc.
Definition at line 35 of file physxConvexForceFieldShapeDesc.I.
References PhysxForceFieldShapeDesc::set_name().