PathEngine home | previous: | next: |
A helper method for drawing the (expanded) unobstructed space boundaries for a pathfinding obstacle.
void renderAgentExpansion(const iShape& expandShape, const iAgent& agent, int32_t originX, int32_t originY, iRender3DLinesCallBack& callBack) const; |
expandShape | The expansion shape (i.e. the shape for which unobstructed space is being queried). | ||
agent | The agent for which expanded unobstructed space bounds should be drawn. | ||
originX | X coordinate for the rendering origin. | ||
originY | Y coordinate for the rendering origin. | ||
callBack |
An instance of
|
Unobstructed space should be present for expandShape.
This helper method is provided to enable you to implement visualisation of primitives within your own 3D engine.
void renderAgentExpansion(Shape expandShape, Agent agent, int originX, int originY, Render3DLinesCallBack callBack); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |