Contents, API Reference, Interfaces, iMesh, renderBaseObstacles
iMesh::renderBaseObstacles()
Description
A helper method for drawing the boundaries for any base obstacles placed on this mesh.
Syntax
void renderBaseObstacles(int32_t originX, int32_t originY, iRender3DLinesCallBack& callBack) const; |
Parameters
| 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.
This method renders the set of obstacles 'burnt in' to the mesh, unexpanded by pathfinding agent shape.
Note that only 'hard' base obstacles are drawn by this method.
Any 'soft obstacles' (obstacles with cost to traverse) which have been burnt in to the mesh are not rendered.
See Also
iMesh::renderUnobstructedSpaceBoundaries(),
iMesh::renderLineOnGround()
C# Mapping
void renderBaseObstacles(int originX, int originY, Render3DLinesCallBack callBack); |
Java Mapping
void renderBaseObstacles(int originX, int originY, Render3DLinesCallBack callBack);
|