TrnNWN2WalkmeshPayload.Island

Tile or fraction of a tile used for pathfinding through large distances.

<ul> <li>The island boundaries match exactly the tile boundaries</li> <li>Generally you have one island per tile.</li> <li>You can have multiple islands for one tile, like if one side of the tile is not accessible from the other side</li> </ul>

Members

Functions

dump
string dump()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Header
struct Header
Undocumented in source.

Variables

adjacent_islands
uint32_t[] adjacent_islands;

Adjacent islands

adjacent_islands_dist
float[] adjacent_islands_dist;

Distances between adjacent islands (probably measured between header.center)

exit_triangles
uint32_t[] exit_triangles;

List of triangles that are on the island borders, and which linked_edges can lead to a triangle that have another triangle.island value.

header
Header header;
Undocumented in source.

Meta