C# Class SharpNav.Pathfinding.NavPoint

Mostrar archivo 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_oe static_oe property

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

Polygon public_oe property

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

Position public_oe property

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