Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Recast/RecastArea.cpp |
int rcOffsetPoly
(
const float * verts,
const int nverts,
const float offset,
float * outVerts,
const int maxOutVerts
)
Helper function to offset voncex polygons for rcMarkConvexPolyArea.
Number of vertices in the offset polygon or 0 if too few vertices in `outVerts_.
Parameter |
Description |
---|---|
verts |
The vertices of the polygon [Form: (x, y, z) * nverts] |
nverts |
The number of vertices in the polygon. |
outVerts |
The offset vertices (should hold up to 2 nverts) [Form: (x, y, z) return value] |
maxOutVerts |
The max number of vertices that can be stored to outVerts. |