dtNavMesh::calcTileLoc

Calculates the tile grid location for the specified world position.

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

void calcTileLoc
(
    const float * pos,
    int * tx,
    int * ty
) const

Remarks

Calculates the tile grid location for the specified world position.

Parameters

Parameter

Description

pos

The world position for the query. [(x, y, z)]

tx

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

ty

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

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