Function NNConstraint.SuitableGraph

SuitableGraph (int graphIndex, NavGraph graph)

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

Public
bool SuitableGraph (

int

graphIndex

NavGraph

graph

)

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

Note that only the first 31 graphs are considered using this function. If the graphMask has bit 31 set (i.e the last graph possible to fit in the mask), all graphs above index 31 will also be considered suitable.