C# 클래스 Pathfinding.QuadtreeGraph

상속: NavGraph
파일 보기 프로젝트 열기: henryj41043/TheUnseen

공개 프로퍼티들

프로퍼티 타입 설명
center UnityEngine.Vector3
editorHeightLog2 int
editorWidthLog2 int
layerMask UnityEngine.LayerMask
minDepth int
nodeSize float

공개 메소드들

메소드 설명
AddNeighboursRec ( List arr, QuadtreeNodeHolder holder, int depth, int x, int y, IntRect bounds, QuadtreeNode dontInclude ) : void
CheckCollision ( int x, int y ) : bool
CheckNode ( int xs, int ys, int width ) : int
CreateNodeRec ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
DrawRec ( QuadtreeNodeHolder h, int depth, int x, int y, Vector3 parentPos ) : void
GetNodes ( GraphNodeDelegateCancelable del ) : void
LocalToWorldPosition ( int x, int y, int width ) : Vector3
OnDrawGizmos ( bool drawNodes ) : void
QueryPoint ( int qx, int qy ) : QuadtreeNode
RecalculateConnections ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
RecalculateConnectionsRec ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
ScanInternal ( OnScanStatus statusCallback ) : void

메소드 상세

AddNeighboursRec() 공개 메소드

public AddNeighboursRec ( List arr, QuadtreeNodeHolder holder, int depth, int x, int y, IntRect bounds, QuadtreeNode dontInclude ) : void
arr List
holder QuadtreeNodeHolder
depth int
x int
y int
bounds IntRect
dontInclude QuadtreeNode
리턴 void

CheckCollision() 공개 메소드

public CheckCollision ( int x, int y ) : bool
x int
y int
리턴 bool

CheckNode() 공개 메소드

public CheckNode ( int xs, int ys, int width ) : int
xs int
ys int
width int
리턴 int

CreateNodeRec() 공개 메소드

public CreateNodeRec ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
holder QuadtreeNodeHolder
depth int
x int
y int
리턴 void

DrawRec() 공개 메소드

public DrawRec ( QuadtreeNodeHolder h, int depth, int x, int y, Vector3 parentPos ) : void
h QuadtreeNodeHolder
depth int
x int
y int
parentPos UnityEngine.Vector3
리턴 void

GetNodes() 공개 메소드

public GetNodes ( GraphNodeDelegateCancelable del ) : void
del GraphNodeDelegateCancelable
리턴 void

LocalToWorldPosition() 공개 메소드

public LocalToWorldPosition ( int x, int y, int width ) : Vector3
x int
y int
width int
리턴 UnityEngine.Vector3

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( bool drawNodes ) : void
drawNodes bool
리턴 void

QueryPoint() 공개 메소드

public QueryPoint ( int qx, int qy ) : QuadtreeNode
qx int
qy int
리턴 QuadtreeNode

RecalculateConnections() 공개 메소드

public RecalculateConnections ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
holder QuadtreeNodeHolder
depth int
x int
y int
리턴 void

RecalculateConnectionsRec() 공개 메소드

public RecalculateConnectionsRec ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
holder QuadtreeNodeHolder
depth int
x int
y int
리턴 void

ScanInternal() 공개 메소드

public ScanInternal ( OnScanStatus statusCallback ) : void
statusCallback OnScanStatus
리턴 void

프로퍼티 상세

center 공개적으로 프로퍼티

public Vector3,UnityEngine center
리턴 UnityEngine.Vector3

editorHeightLog2 공개적으로 프로퍼티

public int editorHeightLog2
리턴 int

editorWidthLog2 공개적으로 프로퍼티

public int editorWidthLog2
리턴 int

layerMask 공개적으로 프로퍼티

public LayerMask,UnityEngine layerMask
리턴 UnityEngine.LayerMask

minDepth 공개적으로 프로퍼티

public int minDepth
리턴 int

nodeSize 공개적으로 프로퍼티

public float nodeSize
리턴 float