PathEngine home | previous: | next: |
Returns a newly created
std::unique_ptr<iMeshFederation> buildMeshFederation_TilingOnly(const cHorizontalRange& worldRange, int32_t tileStep, int32_t overlap) |
worldRange | The minimum and maximum X and Y coordinates for world geometry covered by the federation. | ||
tileStep |
The coordinate increment between adjacent tiles in the federation. A smaller value will result in more tiles being generated. Must be greater than zero. | ||
overlap |
The overlap between the tiles in the federation. This determines a minimum guaranteed query range constraint on pathfinding across the federation. Larger values for this overlap parameter enable queries to be supported across greater distances but at the cost of larger meshes for each tile. Must be greater than zero. |
After creating an 'empty' mesh federation object with this method,
the actual
iMesh instances
for the federation can be generated with
Mesh federation and tile mesh objects will usually be constructed during content generation time, and the resulting objects then saved out and reloaded at run-time.
MeshFederation buildMeshFederation_TilingOnly(PathEngine.HorizontalRange worldRange, int tileStep, int overlap); |
MeshFederation buildMeshFederation_TilingOnly(HorizontalRange worldRange, int tileStep, int overlap); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |