torque Torque Game Engine Documentation
TGE Version 1.5.2

TSDecalMesh Class Reference

#include <tsDecal.h>


Detailed Description

Decals! The lovely detailing thingies, e.g. bullet hole marks.


Public Member Functions

void render (S32 frame, S32 decalFrame, TSMaterialList *)
 override render function
void disassemble ()
void assemble (bool skip)

Static Public Member Functions

static void initDecalMaterials ()
static void resetDecalMaterials ()

Data Fields

TSMeshtargetMesh
 The mesh that we are decaling.
S32 materialIndex
 We only allow 1 material per decal...
Topology
ToolVector< TSDrawPrimitiveprimitives
ToolVector< U16indices
Render Data
indexed by decal frame.

..

ToolVector< S32startPrimitive
ToolVector< Point4FtexgenS
ToolVector< Point4FtexgenT


Member Function Documentation

void TSDecalMesh::render ( S32  frame,
S32  decalFrame,
TSMaterialList  
)

override render function

void TSDecalMesh::disassemble (  ) 

void TSDecalMesh::assemble ( bool  skip  ) 

static void TSDecalMesh::initDecalMaterials (  )  [static]

static void TSDecalMesh::resetDecalMaterials (  )  [static]


Field Documentation

The mesh that we are decaling.

We only allow 1 material per decal...




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen