Class ConstrainToSet Extends NNConstraint

Private

Public Methods

Suitable (node)

Returns whether or not the node conforms to this NNConstraint's rules.

Public

Public Variables

nodes
Public

Inherited Public Members

None

Returns a constraint which does not filter the results.

Public Static
SuitableGraph (graphIndex, graph)

Returns whether or not the graph conforms to this NNConstraint's rules.

Public
Walkable

An NNConstraint which filters out unwalkable nodes.

Public Static
area

Area ID to constrain to.

Public
constrainArea

Only treat nodes in the area area as suitable.

Public
constrainDistance

Constrain distance to node.

Public
constrainTags

Sets if tags should be constrained.

Public
constrainWalkability

Constrain the search to only walkable or unwalkable nodes depending on walkable.

Public
distanceMetric

Determines how to measure distances to the navmesh.

Public
graphMask

Graphs treated as valid to search on.

Public
tags

Nodes which have any of these tags set are suitable.

Public
walkable

Only search for walkable or unwalkable nodes if constrainWalkability is enabled.

Public