C# 클래스 SharpNav.NavNode

Every polygon becomes a Node, which contains a position and cost.
상속: IValueWithCost
파일 보기 프로젝트 열기: Robmaister/SharpNav 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Flags NodeFlags
Id NavPolyId
ParentIndex int
PolyCost float
Position Microsoft.Xna.Framework.Vector3
State byte
TotalCost float

프로퍼티 상세

Flags 공개적으로 프로퍼티

public NodeFlags Flags
리턴 NodeFlags

Id 공개적으로 프로퍼티

public NavPolyId Id
리턴 NavPolyId

ParentIndex 공개적으로 프로퍼티

public int ParentIndex
리턴 int

PolyCost 공개적으로 프로퍼티

Cost from previous node/poly to current.
public float PolyCost
리턴 float

Position 공개적으로 프로퍼티

public Microsoft.Xna.Framework.Vector3 Position
리턴 Microsoft.Xna.Framework.Vector3

State 공개적으로 프로퍼티

public byte State
리턴 byte

TotalCost 공개적으로 프로퍼티

Total cost up to this node
public float TotalCost
리턴 float