C# Class SharpNav.Pathfinding.NavPoint

Show file Open project: Robmaister/SharpNav Class Usage Examples

Public Properties

Property Type Description
Null NavPoint
Polygon NavPolyId
Position Microsoft.Xna.Framework.Vector3

Public Methods

Method Description
NavPoint ( NavPolyId poly, Microsoft.Xna.Framework.Vector3 pos )

Initializes a new instance of the NavPoint struct.

Method Details

NavPoint() public method

Initializes a new instance of the NavPoint struct.
public NavPoint ( NavPolyId poly, Microsoft.Xna.Framework.Vector3 pos )
poly NavPolyId The polygon that the point is on.
pos Microsoft.Xna.Framework.Vector3 The 3d position of the point.

Property Details

Null public static property

A null point that isn't associated with any polygon.
public static NavPoint,SharpNav.Pathfinding Null
return NavPoint

Polygon public property

A reference to the polygon this point is on.
public NavPolyId Polygon
return NavPolyId

Position public property

The 3d position of the point.
public Microsoft.Xna.Framework.Vector3 Position
return Microsoft.Xna.Framework.Vector3