PathEngine home previous: iTestBed::preprocessFaceVertexMeshExternalEdges()next: iTestBed::printTextLine()
Contents, API Reference, Interfaces, iTestBed, preprocessShapeWithHeight

iTestBed::preprocessShapeWithHeight()

Description

Used to speed up rendering of large numbers of dynamic agents.

Syntax

cRenderPreprocess* preprocessShapeWithHeight(const iShape* shape, int32_t 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().


Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::printTextLine()