|
| MyNavmeshManager (MyRDPathfinding rdPathfinding, Vector3D center, Vector3D forwardDirection, int tileSize, int tileHeight, int tileLineCount, MyRecastOptions recastOptions) |
|
bool | InvalidateArea (BoundingBoxD areaAABB) |
| Checks if the manager intersects the given OBB. More...
|
|
bool | ContainsPosition (Vector3D position) |
| Checks if the given point is within the bounds of the navmesh More...
|
|
void | TilesToGenerate (Vector3D initialPosition, Vector3D targetPosition) |
| Saves the tiles that need to be generated More...
|
|
bool | GetPathPoints (Vector3D initialPosition, Vector3D targetPosition, out List< Vector3D > path, out bool noTilesToGenerate) |
| Delivers the path and returns true if the path contains the target position More...
|
|
bool | Update () |
| Updates the navmesh manager by generating the next necessary tile and updates the debug mesh. Returns false if the manager is no longer valid - it was unloaded. More...
|
|
void | UnloadData () |
| Clears the data More...
|
|
void | DebugDraw () |
|
Definition at line 15 of file MyNavmeshManager.cs.
Sandbox.Game.AI.Pathfinding.MyNavmeshManager.MyNavmeshManager |
( |
MyRDPathfinding |
rdPathfinding, |
|
|
Vector3D |
center, |
|
|
Vector3D |
forwardDirection, |
|
|
int |
tileSize, |
|
|
int |
tileHeight, |
|
|
int |
tileLineCount, |
|
|
MyRecastOptions |
recastOptions |
|
) |
| |
|
inline |
bool Sandbox.Game.AI.Pathfinding.MyNavmeshManager.ContainsPosition |
( |
Vector3D |
position | ) |
|
|
inline |
Checks if the given point is within the bounds of the navmesh
- Parameters
-
- Returns
- Returns true if the point is within bounds
Definition at line 222 of file MyNavmeshManager.cs.
void Sandbox.Game.AI.Pathfinding.MyNavmeshManager.DebugDraw |
( |
| ) |
|
|
inline |
bool Sandbox.Game.AI.Pathfinding.MyNavmeshManager.GetPathPoints |
( |
Vector3D |
initialPosition, |
|
|
Vector3D |
targetPosition, |
|
|
out List< Vector3D > |
path, |
|
|
out bool |
noTilesToGenerate |
|
) |
| |
|
inline |
Delivers the path and returns true if the path contains the target position
- Parameters
-
initialPosition | |
targetPosition | |
path | |
finalPath | The returned path is final - "targetPosition was reached" OR "cannot be reached" |
- Returns
Definition at line 248 of file MyNavmeshManager.cs.
bool Sandbox.Game.AI.Pathfinding.MyNavmeshManager.InvalidateArea |
( |
BoundingBoxD |
areaAABB | ) |
|
|
inline |
Checks if the manager intersects the given OBB.
- Parameters
-
- Returns
Definition at line 163 of file MyNavmeshManager.cs.
void Sandbox.Game.AI.Pathfinding.MyNavmeshManager.TilesToGenerate |
( |
Vector3D |
initialPosition, |
|
|
Vector3D |
targetPosition |
|
) |
| |
|
inline |
Saves the tiles that need to be generated
- Parameters
-
initialPosition | |
targetPosition | |
- Returns
Definition at line 234 of file MyNavmeshManager.cs.
void Sandbox.Game.AI.Pathfinding.MyNavmeshManager.UnloadData |
( |
| ) |
|
|
inline |
bool Sandbox.Game.AI.Pathfinding.MyNavmeshManager.Update |
( |
| ) |
|
|
inline |
Updates the navmesh manager by generating the next necessary tile and updates the debug mesh. Returns false if the manager is no longer valid - it was unloaded.
- Returns
Definition at line 331 of file MyNavmeshManager.cs.
Vector3D Sandbox.Game.AI.Pathfinding.MyNavmeshManager.Center |
|
get |
bool Sandbox.Game.AI.Pathfinding.MyNavmeshManager.DrawNavmesh |
|
getset |
MyPlanet Sandbox.Game.AI.Pathfinding.MyNavmeshManager.Planet |
|
get |
bool Sandbox.Game.AI.Pathfinding.MyNavmeshManager.TilesAreWaitingGeneration |
|
get |
The documentation for this class was generated from the following file: