API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typePathStatus
@codexo/exojs-pathfinding / pathfinding / stable
Outcome of a path query. - `found` - a complete path from start to goal (or, with `snapToNearest`, to the reachable node closest to the goal). - `unreachable` - the search exhausted the space without reaching the goal. - `budget-exceeded` - `maxExpandedNodes` ran out first. The result still carries the best partial path found so far.
0
props
0
methods
0
events
Import
import { PathStatus } from '@codexo/exojs-pathfinding'Outcome of a path query.
- `found` - a complete path from start to goal (or, with `snapToNearest`, to the reachable node closest to the goal). - `unreachable` - the search exhausted the space without reaching the goal. - `budget-exceeded` - `maxExpandedNodes` ran out first. The result still carries the best partial path found so far.
Definition1
"budget-exceeded" | "found" | "unreachable"Source