torque Torque Game Engine Documentation
TGE Version 1.5.2

ConstructorSimpleMesh Class Reference

#include <constructorSimpleMesh.h>


Public Member Functions

 ConstructorSimpleMesh ()
 ~ConstructorSimpleMesh ()
void clear (bool wipeMaterials=true)
void render (bool transparent, bool texture, bool lightmap, bool lightmapinunit0, U32 interiorlmhandle, U32 instancelmhandle)
void calculateBounds ()
bool containsPrimitiveType (bool translucent)
void copyTo (ConstructorSimpleMesh &dest)
bool castRay (const Point3F &start, const Point3F &end, RayInfo *info)
bool castPlanes (PlaneF left, PlaneF right, PlaneF top, PlaneF bottom)
bool read (Stream &stream)
bool write (Stream &stream) const

Data Fields

bool hasSolid
bool hasTranslucency
Box3F bounds
MatrixF transform
Point3F scale
Vector< primitiveprimitives
Vector< U16indices
Vector< Point3Fverts
Vector< Point3Fnorms
Vector< Point2FdiffuseUVs
Vector< Point2FlightmapUVs
TSMaterialListmaterialList

Data Structures

class  primitive


Constructor & Destructor Documentation

ConstructorSimpleMesh::ConstructorSimpleMesh (  )  [inline]

ConstructorSimpleMesh::~ConstructorSimpleMesh (  )  [inline]


Member Function Documentation

void ConstructorSimpleMesh::clear ( bool  wipeMaterials = true  )  [inline]

void ConstructorSimpleMesh::render ( bool  transparent,
bool  texture,
bool  lightmap,
bool  lightmapinunit0,
U32  interiorlmhandle,
U32  instancelmhandle 
)

void ConstructorSimpleMesh::calculateBounds (  )  [inline]

bool ConstructorSimpleMesh::containsPrimitiveType ( bool  translucent  )  [inline]

void ConstructorSimpleMesh::copyTo ( ConstructorSimpleMesh dest  )  [inline]

bool ConstructorSimpleMesh::castRay ( const Point3F start,
const Point3F end,
RayInfo info 
)

bool ConstructorSimpleMesh::castPlanes ( PlaneF  left,
PlaneF  right,
PlaneF  top,
PlaneF  bottom 
)

bool ConstructorSimpleMesh::read ( Stream stream  ) 

bool ConstructorSimpleMesh::write ( Stream stream  )  const


Field Documentation




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