dtOffMeshConnection

Defines an navigation mesh off-mesh connection within a [dtMeshTile](API\Runtime\Navmesh\Detour\dtMeshTile) object.

Windows
MacOS
Linux

References

Module

Navmesh

Header

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

Include

#include "Detour/DetourNavMesh.h"

Syntax

struct dtOffMeshConnection

Remarks

Defines an navigation mesh off-mesh connection within a dtMeshTile object. An off-mesh connection is a user defined traversable connection made up to two vertices.

Variables

Name Description

Public variable

unsigned char

 

flags

Link flags.

Public variable

float

 

height

The snap height of endpoints (less than 0 = use step height)

Public variable

unsigned short

 

poly

The polygon reference of the connection within the tile.

Public variable

float[6]

 

pos

The endpoints of the connection. [(ax, ay, az, bx, by, bz)].

Public variable

float

 

rad

The radius of the endpoints. [Limit: >= 0].

Public variable

unsigned char

 

side

End point side.

Public variable

unsigned int

 

userId

The id of the offmesh connection. (User assigned when the navigation mesh is built.)

Functions

Name Description

Public function Const

bool

 

getBiDirectional()

Gets the link direction.

Public function Const

bool

 

getSnapToCheapestArea()

Gets the link snap mode.

Public function

void

 

setFlags

(
    unsigned char conFlags
)

Sets link flags.

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