Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
void rcRasterizeTriangles
(
rcContext * ctx,
const float * verts,
const unsigned char * areas,
const int nt,
rcHeightfield & solid,
const int flagMergeThr
)
Rasterizes triangles into the specified heightfield.
Parameter |
Description |
---|---|
ctx |
The build context to use during the operation. |
verts |
The triangle vertices. [(ax, ay, az, bx, by, bz, cx, by, cx) * nt] |
areas |
The area id's of the triangles. [Limit: <= #RC_WALKABLE_AREA] [Size: nt] |
nt |
The number of triangles. |
solid |
An initialized heightfield. |
flagMergeThr |
The distance where the walkable flag is favored over the non-walkable flag. [Limit: >= 0] [Units: vx] |