#include <plGenericPhysical.h>
Member Enumeration Documentation
- Enumerator:
kPhysNone |
|
kPhysHavok |
|
kPhysODE |
|
kPhysX |
|
kNumPhysTypes |
|
Constructor & Destructor Documentation
plGenericPhysical::plGenericPhysical |
( |
| ) |
|
virtual plGenericPhysical::~plGenericPhysical |
( |
| ) |
|
|
virtual |
Member Function Documentation
const unsigned char* plGenericPhysical::getBufferData |
( |
| ) |
const |
size_t plGenericPhysical::getBufferSize |
( |
| ) |
const |
PhysType plGenericPhysical::getBufferType |
( |
| ) |
const |
unsigned int plGenericPhysical::getCollideGroup |
( |
| ) |
const |
hsVector3 plGenericPhysical::getDimensions |
( |
| ) |
const |
float plGenericPhysical::getFriction |
( |
| ) |
const |
const std::vector<unsigned int>& plGenericPhysical::getIndices |
( |
| ) |
const |
std::vector<unsigned int>& plGenericPhysical::getIndices |
( |
| ) |
|
float plGenericPhysical::getLength |
( |
| ) |
const |
unsigned short plGenericPhysical::getLOSDBs |
( |
| ) |
const |
float plGenericPhysical::getMass |
( |
| ) |
const |
unsigned int plGenericPhysical::getMemberGroup |
( |
| ) |
const |
plKey plGenericPhysical::getObject |
( |
| ) |
const |
hsVector3 plGenericPhysical::getOffset |
( |
| ) |
const |
hsVector3 plGenericPhysical::getPos |
( |
| ) |
const |
bool plGenericPhysical::getProperty |
( |
size_t |
prop | ) |
const |
float plGenericPhysical::getRadius |
( |
| ) |
const |
unsigned int plGenericPhysical::getReportGroup |
( |
| ) |
const |
float plGenericPhysical::getRestitution |
( |
| ) |
const |
hsQuat plGenericPhysical::getRot |
( |
| ) |
const |
plKey plGenericPhysical::getSceneNode |
( |
| ) |
const |
plKey plGenericPhysical::getSoundGroup |
( |
| ) |
const |
plKey plGenericPhysical::getSubWorld |
( |
| ) |
const |
const unsigned char* plGenericPhysical::getTMDBuffer |
( |
| ) |
const |
size_t plGenericPhysical::getTMDSize |
( |
| ) |
const |
const std::vector<hsVector3>& plGenericPhysical::getVerts |
( |
| ) |
const |
std::vector<hsVector3>& plGenericPhysical::getVerts |
( |
| ) |
|
This must be overloaded by subclasses to parse PRC data specific to the class from the PRC document. It is called once for each tag that is a child to the Creatable tag itself, so subclasses should check for each supported tag and handle it accordingly if it matches. If the tag is not recognized, it should be passed along to the parent class.
Reimplemented from plSynchedObject.
virtual void plGenericPhysical::IPrcWrite |
( |
pfPrcHelper * |
prc | ) |
|
|
protectedvirtual |
This must be overloaded by subclasses to write PRC data specific to the class to the PRC document. Do not write the top-level creatable tag, that is handled by prcWrite().
Reimplemented from plSynchedObject.
bool plGenericPhysical::isCollideEnabled |
( |
| ) |
const |
bool plGenericPhysical::isReportEnabled |
( |
| ) |
const |
Reads this creatable directly from the stream. If any keys are read, they will be added to the plResManager automatically.
Reimplemented from plSynchedObject.
void plGenericPhysical::setBuffer |
( |
PhysType |
type, |
|
|
size_t |
size, |
|
|
const unsigned char * |
data |
|
) |
| |
void plGenericPhysical::setCollideEnabled |
( |
bool |
enable | ) |
|
void plGenericPhysical::setCollideGroup |
( |
unsigned int |
collide | ) |
|
void plGenericPhysical::setDimensions |
( |
const hsVector3 & |
box | ) |
|
void plGenericPhysical::setFriction |
( |
float |
friction | ) |
|
void plGenericPhysical::setIndices |
( |
size_t |
numIndices, |
|
|
const unsigned int * |
indices |
|
) |
| |
void plGenericPhysical::setLength |
( |
float |
length | ) |
|
void plGenericPhysical::setLOSDBs |
( |
unsigned short |
los | ) |
|
void plGenericPhysical::setMass |
( |
float |
mass | ) |
|
void plGenericPhysical::setMemberGroup |
( |
unsigned int |
group | ) |
|
void plGenericPhysical::setObject |
( |
plKey |
object | ) |
|
void plGenericPhysical::setOffset |
( |
const hsVector3 & |
offset | ) |
|
void plGenericPhysical::setPos |
( |
const hsVector3 & |
pos | ) |
|
void plGenericPhysical::setProperty |
( |
size_t |
prop, |
|
|
bool |
value |
|
) |
| |
void plGenericPhysical::setRadius |
( |
float |
radius | ) |
|
void plGenericPhysical::setReportEnabled |
( |
bool |
enable | ) |
|
void plGenericPhysical::setReportGroup |
( |
unsigned int |
report | ) |
|
void plGenericPhysical::setRestitution |
( |
float |
restitution | ) |
|
void plGenericPhysical::setRot |
( |
const hsQuat & |
rot | ) |
|
void plGenericPhysical::setSceneNode |
( |
plKey |
node | ) |
|
void plGenericPhysical::setSoundGroup |
( |
plKey |
group | ) |
|
void plGenericPhysical::setSubWorld |
( |
plKey |
world | ) |
|
void plGenericPhysical::setTMDBuffer |
( |
size_t |
tmdSize, |
|
|
const unsigned char * |
tmdBuffer |
|
) |
| |
void plGenericPhysical::setVerts |
( |
size_t |
numVerts, |
|
|
const hsVector3 * |
verts |
|
) |
| |
Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.
Reimplemented from plSynchedObject.
Member Data Documentation
unsigned int plGenericPhysical::fCollideGroup |
|
protected |
bool plGenericPhysical::fDisableCollide |
|
protected |
bool plGenericPhysical::fDisableReport |
|
protected |
float plGenericPhysical::fFriction |
|
protected |
std::vector<unsigned int> plGenericPhysical::fIndices |
|
protected |
unsigned char* plGenericPhysical::fInternalBuffer |
|
protected |
size_t plGenericPhysical::fInternalSize |
|
protected |
PhysType plGenericPhysical::fInternalType |
|
protected |
float plGenericPhysical::fLength |
|
protected |
unsigned short plGenericPhysical::fLOSDBs |
|
protected |
float plGenericPhysical::fMass |
|
protected |
unsigned int plGenericPhysical::fMemberGroup |
|
protected |
plKey plGenericPhysical::fObjectKey |
|
protected |
float plGenericPhysical::fRadius |
|
protected |
unsigned int plGenericPhysical::fReportGroup |
|
protected |
float plGenericPhysical::fRestitution |
|
protected |
hsQuat plGenericPhysical::fRot |
|
protected |
plKey plGenericPhysical::fSceneNode |
|
protected |
plKey plGenericPhysical::fSoundGroup |
|
protected |
plKey plGenericPhysical::fSubWorld |
|
protected |
unsigned char* plGenericPhysical::fTMDBuffer |
|
protected |
size_t plGenericPhysical::fTMDSize |
|
protected |
std::vector<hsVector3> plGenericPhysical::fVerts |
|
protected |
The documentation for this class was generated from the following file: