TSShapeInstance::ObjectInstance Struct Reference#include <tsShapeInstance.h>
Inheritance diagram for TSShapeInstance::ObjectInstance:
[legend]List of all members.
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 |
virtual | ~ObjectInstance () |
MatrixF * | getTransform () |
| Gets the transform of this object.
|
|
virtual void | render (S32 objectDetail, TSMaterialList *)=0 |
| Render! This draws the base-textured object.
|
|
virtual bool | buildPolyList (S32 objectDetail, AbstractPolyList *, U32 &surfaceKey, TSMaterialList *materials)=0 |
virtual bool | getFeatures (S32 objectDetail, const MatrixF &mat, const Point3F &n, ConvexFeature *, U32 &surfaceKey)=0 |
virtual void | support (S32 od, const Point3F &v, F32 *currMaxDP, Point3F *currSupport)=0 |
virtual bool | castRay (S32 objectDetail, const Point3F &start, const Point3F &end, RayInfo *, TSMaterialList *materials)=0 |
| Ray cast for collision detection.
|
Public Attributes |
S32 | nodeIndex |
Static Public Attributes |
static MatrixF * | smTransforms |
| this needs to be set before using an objectInstance.
|
Constructor & Destructor Documentation
virtual TSShapeInstance::ObjectInstance::~ObjectInstance |
( |
|
) |
[inline, virtual] |
Member Function Documentation
MatrixF * TSShapeInstance::ObjectInstance::getTransform |
( |
|
) |
[inline] |
Gets the transform of this object.
virtual void TSShapeInstance::ObjectInstance::render |
( |
S32 |
objectDetail, |
|
|
TSMaterialList * |
| |
|
) |
| | [pure virtual] |
virtual void TSShapeInstance::ObjectInstance::support |
( |
S32 |
od, |
|
|
const Point3F & |
v, |
|
|
F32 * |
currMaxDP, |
|
|
Point3F * |
currSupport | |
|
) |
| | [pure virtual] |
Member Data 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
|