Definition at line 17 of file MyRDPathfinding.cs.
Sandbox.Game.AI.Pathfinding.MyRDPathfinding.MyRDPathfinding |
( |
| ) |
|
|
inline |
bool Sandbox.Game.AI.Pathfinding.MyRDPathfinding.AddToTrackedGrids |
( |
MyCubeGrid |
cubeGrid | ) |
|
|
inline |
Adds to the tracked grids so the changes to it are followed
- Parameters
-
- Returns
Definition at line 167 of file MyRDPathfinding.cs.
void Sandbox.Game.AI.Pathfinding.MyRDPathfinding.DebugDraw |
( |
| ) |
|
|
inline |
Finds a path from the world-space point begin to the given destination shape.
- Parameters
-
begin | From where to do the pathfinding |
end | The destination shape for this pathfinding query |
relativeEntity | If not null, the begin parameter is not in world space, but in local space relative to this entity |
- Returns
- The found path if any, null otherwise
Implements Sandbox.Game.AI.Pathfinding.IMyPathfinding.
Definition at line 55 of file MyRDPathfinding.cs.
Returns the path between given positions.
- Parameters
-
initialPosition | |
targetPosition | |
- Returns
Definition at line 144 of file MyRDPathfinding.cs.
void Sandbox.Game.AI.Pathfinding.MyRDPathfinding.InvalidateArea |
( |
BoundingBoxD |
areaBox | ) |
|
|
inline |
Invalidates intersected tiles of navmesh managers, if they were generated
- Parameters
-
Definition at line 182 of file MyRDPathfinding.cs.
bool Sandbox.Game.AI.Pathfinding.MyRDPathfinding.ReachableUnderThreshold |
( |
Vector3D |
begin, |
|
|
IMyDestinationShape |
end, |
|
|
float |
thresholdDistance |
|
) |
| |
|
inline |
Checks, whether the given destination is reachable, but stops the search after some threshold distance.
- Parameters
-
begin | Where to start the search from |
end | The destination for the reachability query |
thresholdDistance | The distance after which the query should stop |
- Returns
- True if the destination is reachable, false if it could not be found after the given threshold distance
Implements Sandbox.Game.AI.Pathfinding.IMyPathfinding.
Definition at line 72 of file MyRDPathfinding.cs.
void Sandbox.Game.AI.Pathfinding.MyRDPathfinding.SetDrawNavmesh |
( |
bool |
drawNavmesh | ) |
|
|
inline |
Enables or disables the drawing of the navmesh.
- Parameters
-
Definition at line 192 of file MyRDPathfinding.cs.
void Sandbox.Game.AI.Pathfinding.MyRDPathfinding.UnloadData |
( |
| ) |
|
|
inline |
void Sandbox.Game.AI.Pathfinding.MyRDPathfinding.Update |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: