Quantum 3
3.0.9
An internal class that stored multi-threading related navigation context. More...
Public Member Functions | |
| ThreadLocal (Native.Allocator allocator, Int32 rawPathSize, RawPathAllocationStrategy rawPathAllocationStrategy) | |
| Creates a new thread local instance. More... | |
| void | AllocateMailboxBuffer (NavMesh navmesh) |
| Allocates the mailbox buffer which is used to hold temporary memory for pathfinding calls for individual threads. More... | |
| void | Dispose () |
| Dispose pathfinder and mailbox buffer and release the memory. More... | |
Public Attributes | |
| PathFinder | PathFinder |
| The path finder instance. More... | |
An internal class that stored multi-threading related navigation context.
|
inline |
Creates a new thread local instance.
| allocator | Allocator to use. |
| rawPathSize | Default raw path size. |
| rawPathAllocationStrategy | Default raw path allocation strategy. |
|
inline |
Allocates the mailbox buffer which is used to hold temporary memory for pathfinding calls for individual threads.
| navmesh | Navmesh to use |
|
inline |
Dispose pathfinder and mailbox buffer and release the memory.
| PathFinder Quantum.Navigation.ThreadLocal.PathFinder |
The path finder instance.