PathEngine home previous: Interface iRender3DLinesCallBacknext: iRender3DLinesCallBack::vertex()
Contents, API Reference, Interfaces, iRender3DLinesCallBack, startVertex

iRender3DLinesCallBack::startVertex()

Description

This method is called by PathEngine at the start of each set of connected line segments to be rendered.

Syntax

void startVertex(int32_t terrainLayer, float x, float y, float z);

Parameters

terrainLayer The section ID ground attribute value for the start of the set of connected line segments, in the case where the line segments are through a part of the ground mesh marked as terrain, and for which a terrain call-back pointer has been supplied, otherwise -1.
x The x coordinate of the start vertex.
y The y coordinate of the start vertex.
z The z coordinate of the start vertex.

Remarks

X and Y Coordinates are relative to the origin specified for the render method currently being processed.

PathEngine will stop and start rendering at any crossings in and out of and ground areas with terrain height callbacks, with the terrainLayer then provided to enable the calling application to fit the rendered lines over the terrain surface if this is desired.
(See Working with Terrain for more details about the terrain height call-back mechanism.)

C# Mapping

void startVertex(int terrainLayer, float x, float y, float z);

Java Mapping

void startVertex(int terrainLayer, float x, float y, float z);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iRender3DLinesCallBack::vertex()