Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > Detour > dtNavMesh
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 |
dtStatus setPolyArea
&40;
dtPolyRef ref,
unsigned char area
&41;
Remarks
Sets the user defined area for the specified polygon. The status flags for the operation.
Parameters
Name | Description |
---|---|
ref | The polygon reference. |
area | The new area id for the polygon. [Limit: < #DT_MAX_AREAS] |