timelinefx:timelinefx.tlQuadTree.New
Method New:Void( x:Float, y:Float, w:Float, h:Float, maxlevels:Int=4, maxpernode:Int=4, _maxLayers:Int=8 )
Create a new tlQuadTree Creates a new quad tree with the coordinates and dimensions given. maxlevels determines how many times the quadtree can be sub divided. A quadtreenode is only subdivided when a certain amount of objects have been added, which is set by passing maxpernode. There's no optimum values for these, it largely depends on your specific needs, so you will probably do well to experiment. Set maxLayers to determine exactly how many Layers your want the quadtree to have.
Parameters
x Position of the quadtree (top left corner)
y Position of the quadtree (top left corner)
w Width of the quadtree
h Height of the quadtree
maxlevels This is how many times the quadtree can be subdivided, default = 4
maxpernode The number of objects placed into a quad before it's subdivived, default = 4
maxlayers The number of layers in the quadtree- useful for organsing your game objects, default = 8