Function PathProcessor.SetThreadCount

SetThreadCount (int processors, bool multithreaded)

Changes the number of threads used for pathfinding.

Public
void SetThreadCount (

int

processors

bool

multithreaded

)

Changes the number of threads used for pathfinding.

If multithreading is disabled, processors must be equal to 1.