functions Methods 14

CalculatePath (request)
NavMeshPath
Computes a navigation path between the specified start and target positions on the navmesh. Uses the same pathfinding algorithm as Sandbox.NavMeshAgent, taking agent configuration into account if provided. The result is suitable for direct use with Sandbox.NavMeshAgent.SetPath(Sandbox.Navigation.NavMeshPath). If a complete path cannot be found, the result may indicate an incomplete or failed path.
Dispose ()
Generate (world)
Task`1
GenerateTile (world, worldPosition)
Task
Generates or regenerates the navmesh tile at the given world position. This function is thread safe but can only be called from the main thread.
GenerateTiles (world, bounds)
Task
Generates or regenerates the navmesh tiles overlapping with the given bounds. This function is thread safe but can only be called from the main thread.
GetClosestEdge (box)
Nullable`1
GetClosestPoint (box)
Nullable`1
GetRandomPoint ()
Nullable`1
GetSimplePath (from, to)
obsoleteList`1
RequestTileGeneration (worldPosition)
Queues the navmesh tile at the given world position for incremental generation over subsequent frames. Fire-and-forget alternative to Sandbox.Navigation.NavMesh.GenerateTile(Sandbox.PhysicsWorld,Vector3).
RequestTilesGeneration (bounds)
Queues all navmesh tiles overlapping with the given bounds for incremental generation over subsequent frames. Fire-and-forget alternative to Sandbox.Navigation.NavMesh.GenerateTiles(Sandbox.PhysicsWorld,BBox).
SetDirty ()
Set the navgiation a dirty, so it will rebuild over the next few frames. If you need an immediate rebuild, call Sandbox.Navigation.NavMesh.Generate(Sandbox.PhysicsWorld) instead.
UnloadTile (worldPosition)
Removes the navmesh tile at the given world position.
UnloadTiles (bounds)
Removes all navmesh tiles overlapping with the given bounds.

functions Static Methods 1

people
Log in to reply
You can't reply if you're not logged in. That would be crazy.