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

iTerrainCallBack::getHeightAtWithPrecision()

Description

An alternative version of the height query taking extra float parameters for precision components of position.

Syntax

float getHeightAtWithPrecision(tSigned32 x, tSigned32 y, float precisionX, float precisionY);

Parameters

x The base x coordinate for the query.
y The base y coordinate for the query.
precisionX An precision component to be added to the the base x component.
precisionY An precision component to be added to the the base y component.

Return Value

The height of the terrain at the queried position after addition of precision components.

Remarks

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


Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEnginenext: Interface iQueryCallBack