Property | Type | Description | |
---|---|---|---|
CenterX | float | ||
CenterY | float | ||
TargetSize | float | ||
Width | float | ||
differentObjects | List |
||
generationDone | bool | ||
qtisToRegenerate | List |
||
rebuildingQuadTree | bool | ||
waypointsNeedRegeneration | bool |
Method | Description | |
---|---|---|
DetermineGameObjectsInside ( GameObject item ) : List |
||
GetObjectsInside ( Vector3 vec ) : List |
||
GetQuadTreeItemFor ( Vector3 vec, Vector3 size, int maxDepth ) : List |
||
GetQuadTreeItemFor ( Vector3 vec, int maxDepth ) : QuadTreeItem | ||
Init ( GameObject startItem, int depth ) : void | ||
IsGameObjectIn ( GameObject box1, GameObject box2 ) : bool | ||
IsGameObjectIn ( GameObject bigger, Vector3 smallerPos ) : bool |
Method | Description | |
---|---|---|
DetectChangeInObstacles ( ) : bool | ||
DisposeOldQuadTree ( GameObject paramRoot, bool keepRoot ) : void | ||
PrepareChild ( GameObject parent, Vector3 position, Vector3 size, int itemCounter, int depth ) : GameObject | ||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateQuadTree ( ) : void |
public DetermineGameObjectsInside ( GameObject item ) : List |
||
item | GameObject | |
return | List |
public GetObjectsInside ( Vector3 vec ) : List |
||
vec | Vector3 | |
return | List |
public GetQuadTreeItemFor ( Vector3 vec, Vector3 size, int maxDepth ) : List |
||
vec | Vector3 | |
size | Vector3 | |
maxDepth | int | |
return | List |
public GetQuadTreeItemFor ( Vector3 vec, int maxDepth ) : QuadTreeItem | ||
vec | Vector3 | |
maxDepth | int | |
return | QuadTreeItem |
public Init ( GameObject startItem, int depth ) : void | ||
startItem | GameObject | |
depth | int | |
return | void |
public IsGameObjectIn ( GameObject box1, GameObject box2 ) : bool | ||
box1 | GameObject | |
box2 | GameObject | |
return | bool |
public IsGameObjectIn ( GameObject bigger, Vector3 smallerPos ) : bool | ||
bigger | GameObject | |
smallerPos | Vector3 | |
return | bool |