neis

Packed data representing neighbor polygons references and flags for each edge.

Windows
MacOS
Linux

Syntax

unsigned short neis[DT_VERTS_PER_POLYGON]

Remarks

Each entry represents data for the edge starting at the vertex of the same index. E.g. The entry at index n represents the edge data for vertex[n] to vertex[n+1].

A value of zero indicates the edge has no polygon connection. (It makes up the border of the navigation mesh.)

The information can be extracted as follows: neighborRef=neis[n]&0xff;//Gettheneighborpolygonreference.if(neis[n]&#DT_EX_LINK){///Theedgeisanexternal(portal)edge.}

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