Navigation
API > API/Runtime > API/Runtime/Navmesh
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void rcRasterizeTriangles
(
rcContext* ctx, |
Rasterizes triangles into the specified heightfield. | Recast/Recast.h | |
void rcRasterizeTriangles
(
rcContext* ctx, |
Rasterizes an indexed triangle mesh into the specified heightfield. | Recast/Recast.h | |
void rcRasterizeTriangles
(
rcContext* ctx, |
Rasterizes an indexed triangle mesh into the specified heightfield. | Recast/Recast.h |
rcRasterizeTriangles(rcContext , const rcReal , const unsigned char , const int, rcHeightfield &, const int, const int, const int , const rcReal , const rcReal )
Description
Rasterizes triangles into the specified heightfield.
Spans will only be added for triangles that overlap the heightfield grid.
| Name | rcRasterizeTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastRasterization.cpp |
void rcRasterizeTriangles
(
rcContext * ctx,
const rcReal * verts,
const unsigned char * areas,
const int nt,
rcHeightfield & solid,
const int flagMergeThr,
const int rasterizationFlags,
const int * rasterizationMasks,
const rcReal * vertsbmin,
const rcReal * vertsbmax
)
Parameters
| Name | Remarks |
|---|---|
| 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] |
| rtzFlags | Flags to change the rasterization behavior //UE |
| rtzMasks | Mask for the rasterization flags [Size: hf.w*hf.h] //UE |
| vertsbmin | Min location of the bounding box of verts [(x, y, z)] //UE |
| vertsbmax | Max location of the bounding box of verts [(x, y, z)] //UE |
See Also
rcRasterizeTriangles(rcContext , const rcReal , const int, const int , const unsigned char , const int, rcHeightfield &, const int, const int, const int , const rcReal , const rcReal *)
Description
Rasterizes an indexed triangle mesh into the specified heightfield.
Spans will only be added for triangles that overlap the heightfield grid.
| Name | rcRasterizeTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastRasterization.cpp |
void rcRasterizeTriangles
(
rcContext * ctx,
const rcReal * verts,
const int nv,
const int * tris,
const unsigned char * areas,
const int nt,
rcHeightfield & solid,
const int flagMergeThr,
const int rasterizationFlags,
const int * rasterizationMasks,
const rcReal * vertsbmin,
const rcReal * vertsbmax
)
Parameters
| Name | Remarks |
|---|---|
| ctx | The build context to use during the operation. |
| verts | The vertices. [(x, y, z) * nv] |
| nv | The number of vertices. |
| tris | The triangle indices. [(vertA, vertB, vertC) * 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] |
| rtzFlags | Flags to change the rasterization behavior //UE |
| rtzMasks | Mask for the rasterization flags [Size: hf.w*hf.h] //UE |
| vertsbmin | Min location of the bounding box of verts [(x, y, z)] //UE |
| vertsbmax | Max location of the bounding box of verts [(x, y, z)] //UE |
See Also
rcRasterizeTriangles(rcContext , const rcReal , const int, const unsigned short , const unsigned char , const int, rcHeightfield &, const int, const int, const int , const rcReal , const rcReal *)
Description
Rasterizes an indexed triangle mesh into the specified heightfield.
Spans will only be added for triangles that overlap the heightfield grid.
| Name | rcRasterizeTriangles |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h |
| Include Path | #include "Recast/Recast.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/Recast/RecastRasterization.cpp |
void rcRasterizeTriangles
(
rcContext * ctx,
const rcReal * verts,
const int nv,
const unsigned short * tris,
const unsigned char * areas,
const int nt,
rcHeightfield & solid,
const int flagMergeThr,
const int rasterizationFlags,
const int * rasterizationMasks,
const rcReal * vertsbmin,
const rcReal * vertsbmax
)
Parameters
| Name | Remarks |
|---|---|
| ctx | The build context to use during the operation. |
| verts | The vertices. [(x, y, z) * nv] |
| nv | The number of vertices. |
| tris | The triangle indices. [(vertA, vertB, vertC) * 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] |
| rtzFlags | Flags to change the rasterization behavior //UE |
| rtzMasks | Mask for the rasterization flags [Size: hf.w*hf.h] //UE |
| vertsbmin | Min location of the bounding box of verts [(x, y, z)] //UE |
| vertsbmax | Max location of the bounding box of verts [(x, y, z)] //UE |