Dungeon Architect  17.0.0
SharpNav.Pathfinding Namespace Reference

Classes

class  BoundarySideExtensions
 Extension methods for the BoundarySide enumeration.
 
class  Link
 A link is formed between two polygons in a TiledNavMesh More...
 
class  MeshTile
 The MeshTile contains the map data for pathfinding More...
 
struct  NavPoint
 A point in a navigation mesh. More...
 
class  OffMeshConnection
 An offmesh connection links two polygons, which are not directly adjacent, but are accessibly through other means (jumping, climbing, etc...). More...
 
class  PathfindingCommon
 Store constants, structs, methods in this single class so that other classes can access this information. More...
 
class  Poly
 Uses the PolyMesh polygon data for pathfinding More...
 

Enumerations

enum class  BoundarySide : byte {
  Internal = 0xff , PlusX = 0 , PlusXPlusZ = 1 , PlusZ = 2 ,
  MinusXPlusZ = 3 , MinusX = 4 , MinusXMinusZ = 5 , MinusZ = 6 ,
  PlusXMinusZ = 7
}
 An enumeration of the different places a point can be relative to a rectangular boundary on the XZ plane. More...
 
enum class  OffMeshConnectionFlags : byte { None = 0x0 , Bidirectional = 0x1 }
 A set of flags that define properties about an off-mesh connection. More...
 
enum class  PathBuildFlags { None = 0x00 , AreaCrossingVertices = 0x01 , AllCrossingVertices = 0x02 }
 Flags for choosing how the path is built. More...
 
enum class  PolygonType : byte { Ground = 0 , OffMeshConnection = 1 }
 Flags representing the type of a navmesh polygon. More...
 

Enumeration Type Documentation

◆ BoundarySide

An enumeration of the different places a point can be relative to a rectangular boundary on the XZ plane.

Enumerator
Internal 

Not outside of the defined boundary.

PlusX 

Only outside of the defined bondary on the X axis, in the positive direction.

PlusXPlusZ 

Outside of the defined boundary on both the X and Z axes, both in the positive direction.

PlusZ 

Only outside of the defined bondary on the Z axis, in the positive direction.

MinusXPlusZ 

Outside of the defined boundary on both the X and Z axes, in the negative and positive directions respectively.

MinusX 

Only outside of the defined bondary on the X axis, in the negative direction.

MinusXMinusZ 

Outside of the defined boundary on both the X and Z axes, both in the negative direction.

MinusZ 

Only outside of the defined bondary on the Z axis, in the negative direction.

PlusXMinusZ 

Outside of the defined boundary on both the X and Z axes, in the positive and negative directions respectively.

Definition at line 19 of file BoundarySide.cs.

◆ OffMeshConnectionFlags

A set of flags that define properties about an off-mesh connection.

Enumerator
None 

No flags.

Bidirectional 

The connection is bi-directional.

Definition at line 22 of file OffMeshConnection.cs.

◆ PathBuildFlags

Flags for choosing how the path is built.

Enumerator
None 

Build normally.

AreaCrossingVertices 

Adds a vertex to the path at each polygon edge crossing, but only when the areas of the two polygons are different

AllCrossingVertices 

Adds a vertex to the path at each polygon edge crossing.

Definition at line 12 of file PathBuildFlags.cs.

◆ PolygonType

Flags representing the type of a navmesh polygon.

Enumerator
Ground 

A polygon that is part of the navmesh.

OffMeshConnection 

An off-mesh connection consisting of two vertices.

Definition at line 12 of file PolygonType.cs.