Contents, API Reference, Interfaces, iMesh, renderRangeBounds
iMesh::renderRangeBounds()
Description
A helper method for visualising horizontal range boundaries.
Syntax
void renderRangeBounds(const cHorizontalRange& range, int32_t originX, int32_t originY, iRender3DLinesCallBack& callBack) const; |
Parameters
| range | |
The horizontal range for which 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.
|
Remarks
This helper method is provided to enable you to implement visualisation of primitives within your own 3D engine.
Boundary lines are drawn to show the edges of the specified horizontal range.
This method can currently be expensive for large meshes.
Consider using iMesh::renderRangeBounds_Local() instead, which only considers geometry local to a
specified root point.
C# Mapping
void renderRangeBounds(PathEngine.HorizontalRange range, int originX, int originY, Render3DLinesCallBack callBack); |
Java Mapping
void renderRangeBounds(HorizontalRange range, int originX, int originY, Render3DLinesCallBack callBack);
|