프로퍼티 | 타입 | 설명 | |
---|---|---|---|
headArc | Transform[] | ||
isConnectedGraph | bool | ||
isOrientedArc | bool[] | ||
tailArc | Transform[] |
메소드 | 설명 | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
generateAdjacencyList ( ) : void | ||
getNbNodes ( ) : int | ||
getNearestNode ( Vector3 position ) : Transform | ||
getRandomNode ( ) : Transform | ||
getShortestPath ( Vector3 from, Vector3 to ) : Vector3[] |
메소드 | 설명 | |
---|---|---|
dijkstra ( Vector3 from, Vector3 to ) : List |
public getNearestNode ( Vector3 position ) : Transform | ||
position | Vector3 | |
리턴 | Transform |
public getShortestPath ( Vector3 from, Vector3 to ) : Vector3[] | ||
from | Vector3 | |
to | Vector3 | |
리턴 | Vector3[] |