Torque3D Documentation / _generateds / ForcedMaterialMeshMgr

ForcedMaterialMeshMgr

Engine/source/renderInstance/forcedMaterialMeshMgr.h

Basically the same as RenderMeshMgr, but will override the material of the instance.

More...

Private Types

Public Static Functions

Private Static Functions

const char *
_getOverrideMat(void * object, const char * data)
bool
_setOverrideMat(void * object, const char * index, const char * data)

Detailed Description

Basically the same as RenderMeshMgr, but will override the material of the instance.

Private Types

typedef RenderMeshMgr Parent 

Private Attributes

BaseMatInstance * mOverrideInstance 
SimObjectPtr< Material > mOverrideMaterial 

Public Functions

ForcedMaterialMeshMgr()

ForcedMaterialMeshMgr(RenderInstType riType, F32 renderOrder, F32 processAddOrder, BaseMatInstance * overrideMaterial)

~ForcedMaterialMeshMgr()

DECLARE_CONOBJECT(ForcedMaterialMeshMgr )

render(SceneRenderState * state)

Reimplemented from: RenderMeshMgr

setOverrideMaterial(BaseMatInstance * overrideMaterial)

Public Static Functions

initPersistFields()

Private Static Functions

_getOverrideMat(void * object, const char * data)

_setOverrideMat(void * object, const char * index, const char * data)