PathEngine home previous: Interface iTerrainCallBacknext: iTerrainCallBack::getHeightAtWithPrecision()
Contents, API Reference, Interfaces, iTerrainCallBack, getHeightAt

iTerrainCallBack::getHeightAt()

Description

This method is called by PathEngine to obtain the height of the terrain layer corresponding to this callback at specified x and y coordinates.

Syntax

float getHeightAt(tSigned32 x, tSigned32 y);

Parameters

x The x coordinate for the query.
y The y coordinate for the query.

Return Value

The height of the terrain at the queried x and y coordinates.

Remarks

Refer to Working with Terrain for an explanation of the terrain callback system.


Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: iTerrainCallBack::getHeightAtWithPrecision()