Class NNConstraintWithTraversalProvider Extends NNConstraint
Public
NNConstraint which also takes an ITraversalProvider into account.
Paths will automatically use this if an ITraversalProvider is set on the path.
Public Methods
Reset
()
Public
Set
(path, constraint, traversalProvider)
Public
SuitableGraph
(graphIndex, graph)
Returns whether or not the graph conforms to this NNConstraint's rules.
Public
Public Variables
baseConstraint
Public
isSet
Public
path
Public
traversalProvider
Public
Inherited Public Members
None
Returns a constraint which does not filter the results.
Public
Static
area
Area ID to constrain to.
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
tags
Nodes which have any of these tags set are suitable.