C# 클래스 Pathfinding.LevelGridNode

상속: GraphNode
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
height float

보호된 프로퍼티들

프로퍼티 타입 설명
gridConnections uint
gridConnections ushort
gridFlags ushort
gridGraphs Pathfinding.LayerGridGraph[]
nodeInGridIndex int

공개 메소드들

메소드 설명
AddConnection ( GraphNode node, uint cost ) : void
ClearConnections ( bool alsoReverse ) : void
DeserializeNode ( GraphSerializationContext ctx ) : void
FloodFill ( Stack stack, uint region ) : void
GetConnection ( int i ) : bool
GetConnectionValue ( int dir ) : int
GetConnections ( GraphNodeDelegate del ) : void
GetGridGraph ( uint graphIndex ) : LayerGridGraph
GetPortal ( GraphNode other, List left, List right, bool backwards ) : bool
HasAnyGridConnections ( ) : bool
LevelGridNode ( AstarPath astar ) : UnityEngine
Open ( Path path, PathNode pathNode, PathHandler handler ) : void
RemoveConnection ( GraphNode node ) : void
ResetAllGridConnections ( ) : void
SerializeNode ( GraphSerializationContext ctx ) : void
SetConnectionValue ( int dir, int value ) : void
SetGridGraph ( int graphIndex, LayerGridGraph graph ) : void
SetPosition ( Int3 position ) : void
UpdateRecursiveG ( Path path, PathNode pathNode, PathHandler handler ) : void

메소드 상세

AddConnection() 공개 메소드

public AddConnection ( GraphNode node, uint cost ) : void
node GraphNode
cost uint
리턴 void

ClearConnections() 공개 메소드

public ClearConnections ( bool alsoReverse ) : void
alsoReverse bool
리턴 void

DeserializeNode() 공개 메소드

public DeserializeNode ( GraphSerializationContext ctx ) : void
ctx Pathfinding.Serialization.GraphSerializationContext
리턴 void

FloodFill() 공개 메소드

public FloodFill ( Stack stack, uint region ) : void
stack Stack
region uint
리턴 void

GetConnection() 공개 메소드

public GetConnection ( int i ) : bool
i int
리턴 bool

GetConnectionValue() 공개 메소드

public GetConnectionValue ( int dir ) : int
dir int
리턴 int

GetConnections() 공개 메소드

public GetConnections ( GraphNodeDelegate del ) : void
del GraphNodeDelegate
리턴 void

GetGridGraph() 공개 정적인 메소드

public static GetGridGraph ( uint graphIndex ) : LayerGridGraph
graphIndex uint
리턴 LayerGridGraph

GetPortal() 공개 메소드

public GetPortal ( GraphNode other, List left, List right, bool backwards ) : bool
other GraphNode
left List
right List
backwards bool
리턴 bool

HasAnyGridConnections() 공개 메소드

public HasAnyGridConnections ( ) : bool
리턴 bool

LevelGridNode() 공개 메소드

public LevelGridNode ( AstarPath astar ) : UnityEngine
astar AstarPath
리턴 UnityEngine

Open() 공개 메소드

public Open ( Path path, PathNode pathNode, PathHandler handler ) : void
path Path
pathNode PathNode
handler PathHandler
리턴 void

RemoveConnection() 공개 메소드

public RemoveConnection ( GraphNode node ) : void
node GraphNode
리턴 void

ResetAllGridConnections() 공개 메소드

public ResetAllGridConnections ( ) : void
리턴 void

SerializeNode() 공개 메소드

public SerializeNode ( GraphSerializationContext ctx ) : void
ctx Pathfinding.Serialization.GraphSerializationContext
리턴 void

SetConnectionValue() 공개 메소드

public SetConnectionValue ( int dir, int value ) : void
dir int
value int
리턴 void

SetGridGraph() 공개 정적인 메소드

public static SetGridGraph ( int graphIndex, LayerGridGraph graph ) : void
graphIndex int
graph LayerGridGraph
리턴 void

SetPosition() 공개 메소드

public SetPosition ( Int3 position ) : void
position Int3
리턴 void

UpdateRecursiveG() 공개 메소드

public UpdateRecursiveG ( Path path, PathNode pathNode, PathHandler handler ) : void
path Path
pathNode PathNode
handler PathHandler
리턴 void

프로퍼티 상세

gridConnections 보호되어 있는 프로퍼티

protected uint gridConnections
리턴 uint

gridConnections 보호되어 있는 프로퍼티

protected ushort gridConnections
리턴 ushort

gridFlags 보호되어 있는 프로퍼티

protected ushort gridFlags
리턴 ushort

gridGraphs 보호되어 있는 정적으로 프로퍼티

protected static LayerGridGraph[],Pathfinding gridGraphs
리턴 Pathfinding.LayerGridGraph[]

height 공개적으로 프로퍼티

public float height
리턴 float

nodeInGridIndex 보호되어 있는 프로퍼티

protected int nodeInGridIndex
리턴 int