PathEngine home previous: iSourceTiling::getTileFilterRange_Voxels()next: iSourceTiling::getTileRange()
Contents, API Reference, Interfaces, iSourceTiling, getTileForXY

iSourceTiling::getTileForXY()

Description

Looks up the source tile index for the specified horizontal coordinates.

Syntax

int32_t getTileForXY(int32_t x, int32_t y) const;

Parameters

x The x coordinate being queried (world coordinates).
y The y coordinate being queried (world coordinates).

Return Value

The source tile index for the source tile at specified horizontal coordinates, or -1 if the coordinates are outside of the source tiling.

C# Mapping

int getTileForXY(int x, int y);

Java Mapping

int getTileForXY(int x, int y);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iSourceTiling::getTileRange()