Contents, API Reference, Interfaces, iTestBed, preprocessShapeWithHeight
iTestBed::preprocessShapeWithHeight()
Description
Used to speed up rendering of large numbers of dynamic agents.
Syntax
cRenderPreprocess* preprocessShapeWithHeight(iShape* shape, tSigned32 height);
|
Parameters
| shape | |
The shape for which preprocess is to generated.
|
| height | |
The height to extrude this shape vertically.
|
Return value
A render preprocess object for the specified shape, extruded by the specified height.
Remarks
The render preprocess is generated at the coordinate origin,
and can then be drawn at multiple positions with iTestBed::drawRenderPreprocessAtPosition().