dtPoly

Defines a polyogn 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 dtPoly

Remarks

Defines a polyogn within a dtMeshTile object.

Variables

Name Description

Public variable

unsigned char

 

areaAndtype

The bit packed area id and polygon type.

Public variable

unsigned int

 

firstLink

Index to first link in linked list. (Or #DT_NULL_LINK if there is no link.)

Public variable

unsigned short

 

flags

The user defined polygon flags.

Public variable

unsigned short[...

 

neis

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

Public variable

unsigned char

 

vertCount

The number of vertices in the polygon.

Public variable

unsigned short[...

 

verts

The indices of the polygon's vertices.

Functions

Name Description

Public function Const

unsigned cha...

 

getArea()

Gets the user defined area id.

Public function Const

unsigned cha...

 

getType()

Gets the polygon type. (See: dtPolyTypes)

Public function

void

 

setArea

(
    unsigned char a
)

Sets the user defined area id. [Limit: < #DT_MAX_AREAS].

Public function

void

 

setType

(
    unsigned char t
)

Sets the polygon type. (See: dtPolyTypes.)

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