dtQueryFilter::setAreaCost

Sets the traversal cost of the area.

Windows
MacOS
Linux

References

Module

Navmesh

Header

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

Include

#include "Detour/DetourNavMeshQuery.h"

Syntax

void setAreaCost
(
    const int i,
    const float cost
)

Remarks

Sets the traversal cost of the area.

Parameters

Parameter

Description

i

The id of the area.

cost

The new cost of traversing the area.

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