PathEngine home previous: iMesh::renderBaseObstacles()next: iMesh::renderObstacleSetUnobstructedSpace()
Contents, API Reference, Interfaces, iMesh, renderLineOnGround

iMesh::renderLineOnGround()

Description

A helper method for drawing lines that hug the surface of the 3D ground mesh.

Syntax

void renderLineOnGround(const cPosition& start, int32_t endX, int32_t endY, int32_t originX, int32_t originY, iRender3DLinesCallBack& callBack) const;

Parameters

start The start point of the line to draw.
endX X coordinate for the end of the line.
endY Y coordinate for the end of the line.
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.

Remarks

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

See Also

iPath::renderOnGround()

C# Mapping

void renderLineOnGround(PathEngine.Position start, int endX, int endY, int originX, int originY, Render3DLinesCallBack callBack);

Java Mapping

void renderLineOnGround(Position start, int endX, int endY, int originX, int originY, Render3DLinesCallBack callBack);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iMesh::renderObstacleSetUnobstructedSpace()