API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceFloodRegion
@codexo/exojs-pathfinding / pathfinding / stable
Result of Pathfinder.floodFrom: every node reached, with its cost.
4
props
0
methods
0
events
Import
import { FloodRegion } from '@codexo/exojs-pathfinding'Result of Pathfinder.floodFrom: every node reached, with its cost.
Properties4
costs: readonly number[]Traversal cost from the origin to the node at the same index.
expandedNodes: numbernodes: readonly number[]Reached nodes in the order the flood settled them, origin first.
revision: numberSource