C# 클래스 Pathfinding.Path

파일 보기 프로젝트 열기: jgirald/ES2015F 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
callback OnPathDelegate
duration float
enabledTags int
heuristic Heuristic
heuristicScale float
immediateCallback OnPathDelegate
nnConstraint NNConstraint
path List
searchIterations int
searchedNodes int
vectorPath List

보호된 프로퍼티들

프로퍼티 타입 설명
currentR PathNode
hTarget Int3
hTargetNode GraphNode
hasBeenReset bool
internalTagPenalties int[]
manualTagPenalties int[]
maxFrameTime float

공개 메소드들

메소드 설명
AdvanceState ( ) : void
AdvanceState ( PathState s ) : void
CalculateHScore ( GraphNode node ) : uint
CalculateStep ( long targetTick ) : void
CanTraverse ( GraphNode node ) : bool
Claim ( System o ) : void
Cleanup ( ) : void
DebugString ( PathLog logMode ) : string
Error ( ) : void
ForceLogError ( string msg ) : void
GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
GetHTarget ( ) : Int3
GetState ( ) : PathState
GetTagPenalty ( int tag ) : uint
GetTotalLength ( ) : float
GetTraversalCost ( GraphNode node ) : uint
Initialize ( ) : void
IsDone ( ) : bool
Log ( string msg ) : void
OnEnterPool ( ) : void
Prepare ( ) : void
PrepareBase ( PathHandler pathHandler ) : void
Release ( System o ) : void
ReleaseSilent ( System o ) : void
Reset ( ) : void
ReturnPath ( ) : void
WaitForPath ( ) : IEnumerator

보호된 메소드들

메소드 설명
HasExceededTime ( int searchedNodes, long targetTime ) : bool
Recycle ( ) : void
Trace ( PathNode from ) : void

비공개 메소드들

메소드 설명
ErrorCheck ( ) : void
LogError ( string msg ) : void

메소드 상세

AdvanceState() 공개 메소드

public AdvanceState ( ) : void
리턴 void

AdvanceState() 공개 메소드

public AdvanceState ( PathState s ) : void
s PathState
리턴 void

CalculateHScore() 공개 메소드

public CalculateHScore ( GraphNode node ) : uint
node GraphNode
리턴 uint

CalculateStep() 공개 추상적인 메소드

public abstract CalculateStep ( long targetTick ) : void
targetTick long
리턴 void

CanTraverse() 공개 메소드

public CanTraverse ( GraphNode node ) : bool
node GraphNode
리턴 bool

Claim() 공개 메소드

public Claim ( System o ) : void
o System
리턴 void

Cleanup() 공개 메소드

public Cleanup ( ) : void
리턴 void

DebugString() 공개 메소드

public DebugString ( PathLog logMode ) : string
logMode PathLog
리턴 string

Error() 공개 메소드

public Error ( ) : void
리턴 void

ForceLogError() 공개 메소드

public ForceLogError ( string msg ) : void
msg string
리턴 void

GetConnectionSpecialCost() 공개 메소드

public GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
a GraphNode
b GraphNode
currentCost uint
리턴 uint

GetHTarget() 공개 메소드

public GetHTarget ( ) : Int3
리턴 Int3

GetState() 공개 메소드

public GetState ( ) : PathState
리턴 PathState

GetTagPenalty() 공개 메소드

public GetTagPenalty ( int tag ) : uint
tag int
리턴 uint

GetTotalLength() 공개 메소드

public GetTotalLength ( ) : float
리턴 float

GetTraversalCost() 공개 메소드

public GetTraversalCost ( GraphNode node ) : uint
node GraphNode
리턴 uint

HasExceededTime() 보호된 메소드

protected HasExceededTime ( int searchedNodes, long targetTime ) : bool
searchedNodes int
targetTime long
리턴 bool

Initialize() 공개 추상적인 메소드

public abstract Initialize ( ) : void
리턴 void

IsDone() 공개 메소드

public IsDone ( ) : bool
리턴 bool

Log() 공개 메소드

public Log ( string msg ) : void
msg string
리턴 void

OnEnterPool() 공개 메소드

public OnEnterPool ( ) : void
리턴 void

Prepare() 공개 추상적인 메소드

public abstract Prepare ( ) : void
리턴 void

PrepareBase() 공개 메소드

public PrepareBase ( PathHandler pathHandler ) : void
pathHandler PathHandler
리턴 void

Recycle() 보호된 추상적인 메소드

protected abstract Recycle ( ) : void
리턴 void

Release() 공개 메소드

public Release ( System o ) : void
o System
리턴 void

ReleaseSilent() 공개 메소드

public ReleaseSilent ( System o ) : void
o System
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

ReturnPath() 공개 메소드

public ReturnPath ( ) : void
리턴 void

Trace() 보호된 메소드

protected Trace ( PathNode from ) : void
from PathNode
리턴 void

WaitForPath() 공개 메소드

public WaitForPath ( ) : IEnumerator
리턴 IEnumerator

프로퍼티 상세

callback 공개적으로 프로퍼티

public OnPathDelegate callback
리턴 OnPathDelegate

currentR 보호되어 있는 프로퍼티

protected PathNode currentR
리턴 PathNode

duration 공개적으로 프로퍼티

public float duration
리턴 float

enabledTags 공개적으로 프로퍼티

public int enabledTags
리턴 int

hTarget 보호되어 있는 프로퍼티

protected Int3 hTarget
리턴 Int3

hTargetNode 보호되어 있는 프로퍼티

protected GraphNode hTargetNode
리턴 GraphNode

hasBeenReset 보호되어 있는 프로퍼티

protected bool hasBeenReset
리턴 bool

heuristic 공개적으로 프로퍼티

public Heuristic heuristic
리턴 Heuristic

heuristicScale 공개적으로 프로퍼티

public float heuristicScale
리턴 float

immediateCallback 공개적으로 프로퍼티

public OnPathDelegate immediateCallback
리턴 OnPathDelegate

internalTagPenalties 보호되어 있는 프로퍼티

protected int[] internalTagPenalties
리턴 int[]

manualTagPenalties 보호되어 있는 프로퍼티

protected int[] manualTagPenalties
리턴 int[]

maxFrameTime 보호되어 있는 프로퍼티

protected float maxFrameTime
리턴 float

nnConstraint 공개적으로 프로퍼티

public NNConstraint nnConstraint
리턴 NNConstraint

path 공개적으로 프로퍼티

public List path
리턴 List

searchIterations 공개적으로 프로퍼티

public int searchIterations
리턴 int

searchedNodes 공개적으로 프로퍼티

public int searchedNodes
리턴 int

vectorPath 공개적으로 프로퍼티

public List vectorPath
리턴 List