dtNavMesh::getTileRefAt

Gets the tile reference for the tile at specified grid location.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h

Include

#include "Detour/DetourNavMesh.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMesh.cpp

Syntax

dtTileRef getTileRefAt
(
    int x,
    int y,
    int layer
) const

Remarks

Gets the tile reference for the tile at specified grid location.

Returns

The tile reference of the tile, or 0 if there is none.

Parameters

Parameter

Description

x

The tile's x-location. (x, y, layer)

y

The tile's y-location. (x, y, layer)

layer

The tile's layer. (x, y, layer)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss