22#ifndef DETOURNAVMESHBUILDER_H
23#define DETOURNAVMESHBUILDER_H
81#if WITH_NAVMESH_CLUSTER_LINKS
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
double dtReal
Definition DetourLargeWorldCoordinates.h:15
NAVMESH_API bool dtTransformTileData(unsigned char *data, const int dataSize, const int offsetX, const int offsetY, const dtReal tileWidth, const dtReal tileHeight, const dtReal rotationDeg, const dtReal bvQuantFactor)
Definition DetourNavMeshBuilder.cpp:1047
NAVMESH_API bool dtNavMeshDataSwapEndian(unsigned char *data, const int dataSize)
Definition DetourNavMeshBuilder.cpp:907
NAVMESH_API bool dtNavMeshHeaderSwapEndian(unsigned char *data, const int dataSize)
Definition DetourNavMeshBuilder.cpp:851
NAVMESH_API void dtComputeTileOffsetFromRotation(const dtReal *position, const dtReal *rotationCenter, const dtReal rotationDeg, const dtReal tileWidth, const dtReal tileHeight, int &deltaX, int &deltaY)
Definition DetourNavMeshBuilder.cpp:1230
A simple dynamic array of integers.
Definition DetourAlloc.h:168
NAVMESH_API bool dtCreateNavMeshData(dtNavMeshCreateParams *params, unsigned char **outData, int *outDataSize)
Definition DetourNavMeshBuilder.cpp:279
Definition DetourNavMeshBuilder.h:52
dtReal minH
Covex min,max height.
Definition DetourNavMeshBuilder.h:56
dtChunkArray< dtReal > verts
X,Z coords of covex.
Definition DetourNavMeshBuilder.h:59
dtReal maxH
Definition DetourNavMeshBuilder.h:57
unsigned char area
Area id.
Definition DetourNavMeshBuilder.h:54
Definition DetourNavMeshBuilder.h:65
const unsigned short * verts
The polygon mesh vertices. [(x, y, z) * vertCount] [Unit: vx].
Definition DetourNavMeshBuilder.h:72
const dtReal * detailVerts
The detail mesh vertices. [Size: 3 * detailVertsCount] [Unit: wu].
Definition DetourNavMeshBuilder.h:96
dtReal walkableRadius
The agent radius. [Unit: wu].
Definition DetourNavMeshBuilder.h:141
const unsigned int * detailMeshes
The height detail sub-mesh data. [Size: 4 * polyCount].
Definition DetourNavMeshBuilder.h:95
int detailTriCount
The number of triangles in the detail mesh.
Definition DetourNavMeshBuilder.h:99
const dtDynamicAreaCreateParams * dynamicAreas
Dynamic Area data. [Size: dynamicAreaCount] [Unit: wu].
Definition DetourNavMeshBuilder.h:119
const unsigned short * polys
The polygon data. [Size: polyCount * 2 * nvp].
Definition DetourNavMeshBuilder.h:74
bool buildBvTree
Definition DetourNavMeshBuilder.h:150
const unsigned char * detailTris
The detail mesh triangles. [Size: 4 * detailTriCount].
Definition DetourNavMeshBuilder.h:98
int dynamicAreaCount
The number of dynamic areas. [Limit: >= 0].
Definition DetourNavMeshBuilder.h:121
unsigned char tileResolutionLevel
Tile resolution index //@UE.
Definition DetourNavMeshBuilder.h:146
dtReal cs
The xz-plane cell size of the polygon mesh. [Limit: > 0] [Unit: wu].
Definition DetourNavMeshBuilder.h:143
int tileLayer
The tile's layer within the layered destination mesh. (Along the y-axis.) [Limit: >= 0].
Definition DetourNavMeshBuilder.h:132
int vertCount
The number vertices in the polygon mesh. [Limit: >= 3].
Definition DetourNavMeshBuilder.h:73
const unsigned short * polyFlags
The user defined flags assigned to each polygon. [Size: polyCount].
Definition DetourNavMeshBuilder.h:75
const unsigned char * polyAreas
The user defined area ids assigned to each polygon. [Size: polyCount].
Definition DetourNavMeshBuilder.h:76
dtReal bmax[3]
The maximum bounds of the tile. [(x, y, z)] [Unit: wu].
Definition DetourNavMeshBuilder.h:134
dtReal walkableClimb
The agent maximum traversable ledge. (Up/Down) [Unit: wu].
Definition DetourNavMeshBuilder.h:142
int nvp
Number maximum number of vertices per polygon. [Limit: >= 3].
Definition DetourNavMeshBuilder.h:78
dtReal bmin[3]
The minimum bounds of the tile. [(x, y, z)] [Unit: wu].
Definition DetourNavMeshBuilder.h:133
int tileX
The tile's x-grid location within the multi-tile destination mesh. (Along the x-axis....
Definition DetourNavMeshBuilder.h:130
dtReal ch
The y-axis cell height of the polygon mesh. [Limit: > 0] [Unit: wu].
Definition DetourNavMeshBuilder.h:144
dtReal walkableHeight
The agent height. [Unit: wu].
Definition DetourNavMeshBuilder.h:140
int polyCount
Number of polygons in the mesh. [Limit: >= 1].
Definition DetourNavMeshBuilder.h:77
int offMeshConCount
The number of off-mesh connections. [Limit: >= 0].
Definition DetourNavMeshBuilder.h:111
unsigned int userId
The user defined id of the tile.
Definition DetourNavMeshBuilder.h:129
int detailVertsCount
The number of vertices in the detail mesh.
Definition DetourNavMeshBuilder.h:97
const dtOffMeshLinkCreateParams * offMeshCons
Off-mesh connection data. [Size: offMeshConCount] [Unit: wu].
Definition DetourNavMeshBuilder.h:109
int tileY
The tile's y-grid location within the multi-tile desitation mesh. (Along the z-axis....
Definition DetourNavMeshBuilder.h:131
Definition DetourNavMeshBuilder.h:30
unsigned char type
Off-mesh connection type (point to point, segment to segment, bidirectional)
Definition DetourNavMeshBuilder.h:47
dtReal vertsA0[3]
Off-mesh connection vertices (point-point = A0 <> B0, segment-segment = A0-A1 <> B0-B1 ) [Unit: wu].
Definition DetourNavMeshBuilder.h:32
dtReal vertsB0[3]
Definition DetourNavMeshBuilder.h:34
unsigned char area
User defined area ids assigned to the off-mesh connections.
Definition DetourNavMeshBuilder.h:45
dtReal snapHeight
Off-mesh connection height, less than 0 = use step height [Unit: wu].
Definition DetourNavMeshBuilder.h:39
dtReal snapRadius
Off-mesh connection radii. [Unit: wu].
Definition DetourNavMeshBuilder.h:37
dtReal vertsA1[3]
Definition DetourNavMeshBuilder.h:33
unsigned long long int userID
The user defined ids of the off-mesh connection.
Definition DetourNavMeshBuilder.h:41
dtReal vertsB1[3]
Definition DetourNavMeshBuilder.h:35
unsigned short polyFlag
User defined flags assigned to the polys of off-mesh connections.
Definition DetourNavMeshBuilder.h:43