rcGetCon

Gets neighbor connection data for the specified direction.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h

Include

#include "Recast/Recast.h"

Syntax

int rcGetCon
(
    const rcCompactSpan & s,
    int dir
)

Remarks

Gets neighbor connection data for the specified direction.

Returns

The neighbor connection data for the specified direction, or #RC_NOT_CONNECTED if there is no connection.

Parameters

Parameter

Description

s

The span to check.

dir

The direction to check. [Limits: 0 <= value < 4]

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