OptionalhistoryOptionalignoreIgnore cost? Default: false.
OptionalignoreIgnore walls and surfaces? Default: false.
OptionalmaxThe maximum cumulative cost.
OptionalmaxThe maximum cumulative distance.
OptionalmeasureThe measurement options.
OptionalpreviewConstrain a preview path? Default: false.
Consider movement history? If true, uses the current movement history. If waypoints are passed, use those as the history. Default:
false.