Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
Include |
#include "Recast/Recast.h" |
void rcRasterizeTriangle
(
rcContext * ctx,
const float * v0,
const float * v1,
const float * v2,
const unsigned char area,
rcHeightfield & solid,
const int flagMergeThr
)
Rasterizes a triangle into the specified heightfield.
Parameter |
Description |
---|---|
ctx |
The build context to use during the operation. |
v0 |
Triangle vertex 0 [(x, y, z)] |
v1 |
Triangle vertex 1 [(x, y, z)] |
v2 |
Triangle vertex 2 [(x, y, z)] |
area |
The area id of the triangle. [Limit: <= #RC_WALKABLE_AREA] |
solid |
An initialized heightfield. |
flagMergeThr |
The distance where the walkable flag is favored over the non-walkable flag. [Limit: >= 0] [Units: vx] |