TSShapeInstance::ObjectInstance
Engine/source/ts/tsShapeInstance.h
Base class for all renderable objects, including mesh objects and decal objects.
Render Functions
render(S32 objectDetail, TSVertexBufferHandle & vb, TSMaterialList * , TSRenderState & rdata, F32 alpha, const char * meshName)
Render! This draws the base-textured object.
updateVertexBuffer(S32 objectDetail, U8 * buffer)
Updates the vertex buffer data for this mesh (used for software skinning)
bool
bufferNeedsUpdate(S32 objectDetail)
Collision Routines
bool
buildPolyList(S32 objectDetail, AbstractPolyList * polyList, U32 & surfaceKey, TSMaterialList * materials)
bool
getFeatures(S32 objectDetail, const MatrixF & mat, const Point3F & n, ConvexFeature * feature, U32 & surfaceKey)
bool
buildPolyListOpcode(S32 objectDetail, AbstractPolyList * polyList, U32 & surfaceKey, TSMaterialList * materials)
bool
castRayOpcode(S32 objectDetail, const Point3F & start, const Point3F & end, RayInfo * info, TSMaterialList * materials)
bool
Public Attributes
Public Functions
Gets the transform of this object.
Detailed Description
Base class for all renderable objects, including mesh objects and decal objects.
An ObjectInstance points to the renderable items in the shape...
Render Functions
render(S32 objectDetail, TSVertexBufferHandle & vb, TSMaterialList * , TSRenderState & rdata, F32 alpha, const char * meshName)
Render! This draws the base-textured object.
Reimplemented by: TSShapeInstance::MeshObjectInstance
updateVertexBuffer(S32 objectDetail, U8 * buffer)
Updates the vertex buffer data for this mesh (used for software skinning)
Reimplemented by: TSShapeInstance::MeshObjectInstance
bufferNeedsUpdate(S32 objectDetail)
Reimplemented by: TSShapeInstance::MeshObjectInstance
Collision Routines
buildPolyList(S32 objectDetail, AbstractPolyList * polyList, U32 & surfaceKey, TSMaterialList * materials)
Reimplemented by: TSShapeInstance::MeshObjectInstance
getFeatures(S32 objectDetail, const MatrixF & mat, const Point3F & n, ConvexFeature * feature, U32 & surfaceKey)
Reimplemented by: TSShapeInstance::MeshObjectInstance
support(S32 od, const Point3F & v, F32 * currMaxDP, Point3F * currSupport)
Reimplemented by: TSShapeInstance::MeshObjectInstance
buildPolyListOpcode(S32 objectDetail, AbstractPolyList * polyList, U32 & surfaceKey, TSMaterialList * materials)
castRayOpcode(S32 objectDetail, const Point3F & start, const Point3F & end, RayInfo * info, TSMaterialList * materials)
Reimplemented by: TSShapeInstance::MeshObjectInstance
buildConvexOpcode(const MatrixF & mat, S32 objectDetail, const Box3F & bounds, Convex * c, Convex * list)
Reimplemented by: TSShapeInstance::MeshObjectInstance
castRay(S32 objectDetail, const Point3F & start, const Point3F & end, RayInfo * info, TSMaterialList * materials)
Ray cast for collision detection.
Reimplemented by: TSShapeInstance::MeshObjectInstance