TSShapeInstance::ObjectInstance Struct Reference#include <tsShapeInstance.h>
Inheritance diagram for TSShapeInstance::ObjectInstance:
[legend]
Detailed Description
Base class for all renderable objects, including mesh objects and decal objects.
An ObjectInstance points to the renderable items in the shape...
|
Public Member Functions |
MatrixF * | getTransform () |
| Gets the transform of this object.
|
|
virtual void | render (S32 objectDetail, TSMaterialList *) |
| Render! This draws the base-textured object.
|
virtual void | renderEnvironmentMap (S32 objectDetail, TSMaterialList *) |
| Renders the environment map.
|
virtual void | renderDetailMap (S32 objectDetail, TSMaterialList *) |
| Renders the detail map.
|
virtual void | renderFog (S32 objectDetail, TSMaterialList *) |
| Renders the fog texture.
|
virtual void | renderLightMap (S32 objectDetail, TSMaterialList *) |
| Renders the lightmap.
|
|
virtual bool | buildPolyList (S32 objectDetail, AbstractPolyList *, U32 &surfaceKey) |
virtual bool | getFeatures (S32 objectDetail, const MatrixF &mat, const Point3F &n, ConvexFeature *, U32 &surfaceKey) |
virtual void | support (S32 od, const Point3F &v, F32 *currMaxDP, Point3F *currSupport) |
virtual bool | castRay (S32 objectDetail, const Point3F &start, const Point3F &end, RayInfo *) |
| Ray cast for collision detection.
|
Data Fields |
S32 | nodeIndex |
Static Public Attributes |
static MatrixF * | smTransforms |
| this needs to be set before using an objectInstance.
|
Member Function Documentation
MatrixF * TSShapeInstance::ObjectInstance::getTransform |
( |
|
) |
[inline] |
Gets the transform of this object.
virtual void TSShapeInstance::ObjectInstance::renderEnvironmentMap |
( |
S32 |
objectDetail, |
|
|
TSMaterialList * |
| |
|
) |
| | [virtual] |
virtual void TSShapeInstance::ObjectInstance::renderDetailMap |
( |
S32 |
objectDetail, |
|
|
TSMaterialList * |
| |
|
) |
| | [virtual] |
virtual void TSShapeInstance::ObjectInstance::renderLightMap |
( |
S32 |
objectDetail, |
|
|
TSMaterialList * |
| |
|
) |
| | [virtual] |
virtual bool TSShapeInstance::ObjectInstance::buildPolyList |
( |
S32 |
objectDetail, |
|
|
AbstractPolyList * |
, |
|
|
U32 & |
surfaceKey | |
|
) |
| | [virtual] |
virtual void TSShapeInstance::ObjectInstance::support |
( |
S32 |
od, |
|
|
const Point3F & |
v, |
|
|
F32 * |
currMaxDP, |
|
|
Point3F * |
currSupport | |
|
) |
| | [virtual] |
virtual bool TSShapeInstance::ObjectInstance::castRay |
( |
S32 |
objectDetail, |
|
|
const Point3F & |
start, |
|
|
const Point3F & |
end, |
|
|
RayInfo * |
| |
|
) |
| | [virtual] |
Field Documentation
this needs to be set before using an objectInstance.
..tells us where to look for the transforms...gets set be shape instance 'setStatics' method
|