Panda3D
|
Abstract base class for descriptors for force field shapes descriptors. More...
#include "physxForceFieldShapeDesc.h"
Public Member Functions | |
LMatrix4f | get_mat () const |
const char * | get_name () const |
LPoint3f | get_pos () const |
virtual bool | is_valid () const =0 |
virtual NxForceFieldShapeDesc * | ptr () const =0 |
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. | |
void | set_pos (const LPoint3f &pos) |
virtual void | set_to_default ()=0 |
Abstract base class for descriptors for force field shapes descriptors.
Definition at line 25 of file physxForceFieldShapeDesc.h.
LMatrix4f PhysxForceFieldShapeDesc::get_mat | ( | ) | const |
Definition at line 84 of file physxForceFieldShapeDesc.cxx.
const char * PhysxForceFieldShapeDesc::get_name | ( | ) | const |
Definition at line 66 of file physxForceFieldShapeDesc.cxx.
LPoint3f PhysxForceFieldShapeDesc::get_pos | ( | ) | const |
Definition at line 75 of file physxForceFieldShapeDesc.cxx.
|
pure virtual |
void PhysxForceFieldShapeDesc::set_hpr | ( | float | h, |
float | p, | ||
float | r ) |
Definition at line 50 of file physxForceFieldShapeDesc.cxx.
void PhysxForceFieldShapeDesc::set_mat | ( | const LMatrix4f & | mat | ) |
Definition at line 40 of file physxForceFieldShapeDesc.cxx.
void PhysxForceFieldShapeDesc::set_name | ( | const char * | name | ) |
Sets a possible debug name.
Definition at line 20 of file physxForceFieldShapeDesc.cxx.
Referenced by PhysxBoxForceFieldShapeDesc::set_to_default(), PhysxCapsuleForceFieldShapeDesc::set_to_default(), PhysxConvexForceFieldShapeDesc::set_to_default(), and PhysxSphereForceFieldShapeDesc::set_to_default().
void PhysxForceFieldShapeDesc::set_pos | ( | const LPoint3f & | pos | ) |
Definition at line 30 of file physxForceFieldShapeDesc.cxx.
|
pure virtual |