dtNavMesh::setPolyArea

Sets the user defined area for the specified polygon.

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

dtStatus setPolyArea
(
    dtPolyRef ref,
    unsigned char area
)

Remarks

Sets the user defined area for the specified polygon.

Returns

The status flags for the operation.

Parameters

Parameter

Description

ref

The polygon reference.

area

The new area id for the polygon. [Limit: < #DT_MAX_AREAS]

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