TSShape::Detail Struct Reference

#include <tsShape.h>

List of all members.


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.


Public Attributes

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


Member Data Documentation