C# Class Pathfinding.QuadtreeGraph

Inheritance: NavGraph
Afficher le fichier Open project: henryj41043/TheUnseen

Méthodes publiques

Свойство Type Description
center UnityEngine.Vector3
editorHeightLog2 int
editorWidthLog2 int
layerMask UnityEngine.LayerMask
minDepth int
nodeSize float

Méthodes publiques

Méthode Description
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

Method Details

AddNeighboursRec() public méthode

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
Résultat void

CheckCollision() public méthode

public CheckCollision ( int x, int y ) : bool
x int
y int
Résultat bool

CheckNode() public méthode

public CheckNode ( int xs, int ys, int width ) : int
xs int
ys int
width int
Résultat int

CreateNodeRec() public méthode

public CreateNodeRec ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
holder QuadtreeNodeHolder
depth int
x int
y int
Résultat void

DrawRec() public méthode

public DrawRec ( QuadtreeNodeHolder h, int depth, int x, int y, Vector3 parentPos ) : void
h QuadtreeNodeHolder
depth int
x int
y int
parentPos UnityEngine.Vector3
Résultat void

GetNodes() public méthode

public GetNodes ( GraphNodeDelegateCancelable del ) : void
del GraphNodeDelegateCancelable
Résultat void

LocalToWorldPosition() public méthode

public LocalToWorldPosition ( int x, int y, int width ) : Vector3
x int
y int
width int
Résultat UnityEngine.Vector3

OnDrawGizmos() public méthode

public OnDrawGizmos ( bool drawNodes ) : void
drawNodes bool
Résultat void

QueryPoint() public méthode

public QueryPoint ( int qx, int qy ) : QuadtreeNode
qx int
qy int
Résultat QuadtreeNode

RecalculateConnections() public méthode

public RecalculateConnections ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
holder QuadtreeNodeHolder
depth int
x int
y int
Résultat void

RecalculateConnectionsRec() public méthode

public RecalculateConnectionsRec ( QuadtreeNodeHolder holder, int depth, int x, int y ) : void
holder QuadtreeNodeHolder
depth int
x int
y int
Résultat void

ScanInternal() public méthode

public ScanInternal ( OnScanStatus statusCallback ) : void
statusCallback OnScanStatus
Résultat void

Property Details

center public_oe property

public Vector3,UnityEngine center
Résultat UnityEngine.Vector3

editorHeightLog2 public_oe property

public int editorHeightLog2
Résultat int

editorWidthLog2 public_oe property

public int editorWidthLog2
Résultat int

layerMask public_oe property

public LayerMask,UnityEngine layerMask
Résultat UnityEngine.LayerMask

minDepth public_oe property

public int minDepth
Résultat int

nodeSize public_oe property

public float nodeSize
Résultat float