Torque3D Documentation / _generateds / TSShape::Detail

TSShape::Detail

Engine/source/ts/tsShape.h

Details are used for render detail selection.

More...

Public User Defined

These values are new autobillboard settings stored as part of the Detail struct in version 26 and above.

The detail to render as the autobillboard.

The number of autobillboard images to capture around the equator.

The number of autobillboard images to capture along the pole.

The angle in radians at which the top/bottom autobillboard images should be displayed.

If non-zero then top and bottom images are generated for the autobillboard.

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.

Note that this struct should always be 32bit aligned as its required by assembleShape/disassembleShape.

Public User Defined

S32 bbDimension 

These values are new autobillboard settings stored as part of the Detail struct in version 26 and above.

The size of the autobillboard image.

S32 bbDetailLevel 

The detail to render as the autobillboard.

U32 bbEquatorSteps 

The number of autobillboard images to capture around the equator.

U32 bbPolarSteps 

The number of autobillboard images to capture along the pole.

F32 bbPolarAngle 

The angle in radians at which the top/bottom autobillboard images should be displayed.

U32 bbIncludePoles 

If non-zero then top and bottom images are generated for the autobillboard.

Public Attributes

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