PathEngine home previous: iTestBed::drawAgentWithPrecision()next: iTestBed::drawAgentsInObstacleSet()
Contents, API Reference, Interfaces, iTestBed, drawAgentsInContext

iTestBed::drawAgentsInContext()

Description

Draws all agents in the specified collision context.

Syntax

void drawAgentsInContext(iCollisionContext* context, int32_t height);
        

Parameters

context All agents in this context will be drawn.
height Specifies how tall to make the objects.

Remarks

Agents are drawn as prisms constructed by extruding their collision shape vertically by height.

If there is no currently set mesh then this function returns with no effect.

The agents will be drawn in the testbed's current colour.

See Also

iTestBed::setColour(), iTestBed::setColourRGB(), iTestBed::drawAgent(), iTestBed::drawAgentHeading(), iTestBed::drawShape()
Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::drawAgentsInObstacleSet()