dtOffMeshSegmentConnection

Windows
MacOS
Linux

References

Module

Navmesh

Header

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

Include

#include "Detour/DetourNavMesh.h"

Syntax

struct dtOffMeshSegmentConnection

Variables

Name Description

Public variable

float[3]

 

endA

End point of segment A.

Public variable

float[3]

 

endB

End point of segment B.

Public variable

unsigned short

 

firstPoly

First poly in segment pool (+ header->offMeshSegPolyBase)

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 char

 

npolys

Number of created polys.

Public variable

float

 

rad

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

Public variable

float[3]

 

startA

Start point of segment A.

Public variable

float[3]

 

startB

Start point of segment B.

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

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