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(int32_t x, int32_t 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.

C# Mapping

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

Java Mapping

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

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: Interface iQueryCallBack