API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceWaypointEdgeOptions

@codexo/exojs-pathfinding / pathfinding / stable

Options for WaypointGraph.addEdge and WaypointGraph.connect.

3
props
0
methods
0
events
Import
import { WaypointEdgeOptions } from '@codexo/exojs-pathfinding'

Options for WaypointGraph.addEdge and WaypointGraph.connect.

Properties3
cost?: number
Traversal cost. Defaults to the straight-line distance between the two nodes, or 1 when either of them has no position.
data?: Payload
Payload for the movement controller: jump impulse, ladder id, anything.
kind?: string
Free-form traversal tag surfaced through PathResult.edges - the hook a movement controller reads to tell a jump from a walk. Defaults to 'walk'.
Source