PxMaterial

Engine/source/T3D/physics/physx/pxMaterial.h

More...

Private Types

Parent 

Public Functions

onStaticModified(const char * slotName, const char * newValue)

Specifically, these are called by setDataField when a static or dynamic field is modified, see the console details.

bool
preload(bool server, String & errorStr)

Called to prepare the datablock for use, after it has been unpacked.

Public Static Functions

Detailed Description

Private Types

typedef SimDataBlock Parent 

Protected Attributes

F32 dynamicFriction 
NxMaterial * mNxMat 
S32 mNxMatId 
bool mServer 
F32 restitution 
F32 staticFriction 

Public Functions

PxMaterial()

~PxMaterial()

DECLARE_CONOBJECT(PxMaterial )

getMaterialId()

onStaticModified(const char * slotName, const char * newValue)

Reimplemented from: SimDataBlock

packData(BitStream * stream)

Reimplemented from: SimDataBlock

preload(bool server, String & errorStr)

Reimplemented from: SimDataBlock

unpackData(BitStream * stream)

Reimplemented from: SimDataBlock

Public Static Functions

consoleInit()

initPersistFields()