C# Класс SharpNav.Pathfinding.NavPoint

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Null NavPoint
Polygon NavPolyId
Position Microsoft.Xna.Framework.Vector3

Открытые методы

Метод Описание
NavPoint ( NavPolyId poly, Microsoft.Xna.Framework.Vector3 pos )

Initializes a new instance of the NavPoint struct.

Описание методов

NavPoint() публичный Метод

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.

Описание свойств

Null публичное статическое свойство

A null point that isn't associated with any polygon.
public static NavPoint,SharpNav.Pathfinding Null
Результат NavPoint

Polygon публичное свойство

A reference to the polygon this point is on.
public NavPolyId Polygon
Результат NavPolyId

Position публичное свойство

The 3d position of the point.
public Microsoft.Xna.Framework.Vector3 Position
Результат Microsoft.Xna.Framework.Vector3