torque Torque Game Engine Documentation
TGE Version 1.5.2

TSShape::Detail Struct Reference

#include <tsShape.h>


Detailed Description

Details are used for render detail selection.

As the projected size of the shape changes, a different node structure can be used (subShape) and a different objectDetail can be selected for each object drawn. Either of these two parameters can also stay constant, but presumably not both. If size is negative then the detail level will never be selected by the standard detail selection process. It will have to be selected by name. Such details are "utility details" because they exist to hold data (node positions or collision information) but not normally to be drawn. By default there will always be a "Ground" utility detail.


Data Fields

S32 nameIndex
S32 subShapeNum
S32 objectDetailNum
F32 size
F32 averageError
F32 maxError
S32 polyCount


Field Documentation




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