Struct TrnNWN2WalkmeshPayload.Tile
Tile with its path table
struct Tile
;
Fields
Name | Type | Description |
---|---|---|
edges
|
TrnNWN2WalkmeshPayload | Only used if header
|
header
|
TrnNWN2WalkmeshPayload | |
path_table
|
TrnNWN2WalkmeshPayload | |
vertices
|
TrnNWN2WalkmeshPayload | Only used if header
|
Methods
Name | Description |
---|---|
dump
()
|
|
findPath
(fromGTriIndex, toGTriIndex)
|
Calculate the fastest route between two triangles of a tile. The tile need to be baked, as it uses existing path tables. |
getPathNode
(fromGTriIndex, toGTriIndex)
|
|
validate
(aswm, tileIndex, strict)
|
Check a single tile. You should use TrnNWN2WalkmeshPayload instead
|
Inner structs
Name | Description |
---|---|
Header
|
|
PathTable
|
Tile pathing information |