Panda3D
|
A descriptor for a convex force field shape. More...
#include "physxConvexForceFieldShapeDesc.h"
Public Member Functions | |
LMatrix4f | get_mat () const |
const char * | get_name () const |
LPoint3f | get_pos () const |
bool | is_valid () const |
Returns true if the descriptor is valid. | |
NxForceFieldShapeDesc * | ptr () const |
void | set_hpr (float h, float p, float r) |
void | set_mat (const LMatrix4f &mat) |
void | set_mesh (PhysxConvexMesh *mesh) |
Sets the convex mesh for this force field shape. | |
void | set_name (const char *name) |
Sets a possible debug name. | |
void | set_pos (const LPoint3f &pos) |
void | set_to_default () |
(re)sets the structure to the default. | |
Public Attributes | |
NxConvexForceFieldShapeDesc | _desc |
A descriptor for a convex force field shape.
Definition at line 29 of file physxConvexForceFieldShapeDesc.h.
bool PhysxConvexForceFieldShapeDesc::is_valid | ( | ) | const [inline, virtual] |
Returns true if the descriptor is valid.
Implements PhysxForceFieldShapeDesc.
Definition at line 56 of file physxConvexForceFieldShapeDesc.I.
void PhysxConvexForceFieldShapeDesc::set_mesh | ( | PhysxConvexMesh * | mesh | ) |
Sets the convex mesh for this force field shape.
Definition at line 24 of file physxConvexForceFieldShapeDesc.cxx.
void PhysxForceFieldShapeDesc::set_name | ( | const char * | name | ) | [inherited] |
Sets a possible debug name.
Definition at line 24 of file physxForceFieldShapeDesc.cxx.
Referenced by PhysxSphereForceFieldShapeDesc::set_to_default(), set_to_default(), PhysxCapsuleForceFieldShapeDesc::set_to_default(), and PhysxBoxForceFieldShapeDesc::set_to_default().
void PhysxConvexForceFieldShapeDesc::set_to_default | ( | ) | [inline, virtual] |
(re)sets the structure to the default.
Implements PhysxForceFieldShapeDesc.
Definition at line 44 of file physxConvexForceFieldShapeDesc.I.
References PhysxForceFieldShapeDesc::set_name().