PathEngine home previous: iMesh::releaseUnobstructedSpaceFor()next: iMesh::renderBaseObstacles()
Contents, API Reference, Interfaces, iMesh, renderAgentExpansion

iMesh::renderAgentExpansion()

Description

A helper method for drawing the (expanded) unobstructed space boundaries for a pathfinding obstacle.

Syntax

void renderAgentExpansion(const iShape& expandShape, const iAgent& agent, int32_t originX, int32_t originY, iRender3DLinesCallBack& callBack) const;

Parameters

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 Interface iRender3DLinesCallBack to call back to with coordinates for line vertices.

Requirements

Unobstructed space should be present for expandShape.

Remarks

This helper method is provided to enable you to implement visualisation of primitives within your own 3D engine.

See Also

iMesh::renderLineOnGround()

C# Mapping

void renderAgentExpansion(Shape expandShape, Agent agent, int originX, int originY, Render3DLinesCallBack callBack);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iMesh::renderBaseObstacles()