TSShapeInstance::MeshObjectInstance Struct Reference#include <tsShapeInstance.h>
Inheritance diagram for TSShapeInstance::MeshObjectInstance:
[legend]List of all members.
Detailed Description
These are set up by default based on shape data.
|
Public Member Functions |
virtual | ~MeshObjectInstance () |
TSMesh * | getMesh (S32 num) const |
| Gets the mesh with specified detail level.
|
|
This just selects the right detail level (mesh) and calls mesh's render
|
void | render (S32 objectDetail, TSMaterialList *) |
| Render! This draws the base-textured object.
|
|
bool | buildPolyList (S32 objectDetail, AbstractPolyList *, U32 &surfaceKey, TSMaterialList *materials) |
bool | getFeatures (S32 objectDetail, const MatrixF &mat, const Point3F &n, ConvexFeature *, U32 &surfaceKey) |
void | support (S32 od, const Point3F &v, F32 *currMaxDP, Point3F *currSupport) |
bool | castRay (S32 objectDetail, const Point3F &start, const Point3F &end, RayInfo *, TSMaterialList *materials) |
| Ray cast for collision detection.
|
Public Attributes |
TSMesh *const * | meshList |
| one mesh per detail level... Null entries allowed.
|
const TSObject * | object |
S32 | frame |
S32 | matFrame |
F32 | visible |
GFXVertexBufferHandle< GFXVertexPNTTB > | mVB |
Constructor & Destructor Documentation
virtual TSShapeInstance::MeshObjectInstance::~MeshObjectInstance |
( |
|
) |
[inline, virtual] |
Member Function Documentation
TSMesh* TSShapeInstance::MeshObjectInstance::getMesh |
( |
S32 |
num |
) |
const [inline] |
Gets the mesh with specified detail level.
void TSShapeInstance::MeshObjectInstance::support |
( |
S32 |
od, |
|
|
const Point3F & |
v, |
|
|
F32 * |
currMaxDP, |
|
|
Point3F * |
currSupport | |
|
) |
| | [virtual] |
Member Data Documentation
one mesh per detail level... Null entries allowed.
|