dtNavMesh::getTileAndPolyByRefUnsafe

Returns the tile and polygon for the specified polygon reference.

Windows
MacOS
Linux

Warnings

  • Only use this function if it is known that the provided polygon reference is valid. This function is faster than getTileAndPolyByRef, but it does not validate the reference.

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 getTileAndPolyByRefUnsafe
(
    const dtPolyRef ref,
    const dtMeshTile ** tile,
    const dtPoly ** poly
) const

Remarks

Returns the tile and polygon for the specified polygon reference.

Only use this function if it is known that the provided polygon reference is valid. This function is faster than getTileAndPolyByRef, but it does not validate the reference.

Parameters

Parameter

Description

ref

A known valid reference for a polygon.

tile

The tile containing the polygon.

poly

The polygon.

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