Click or drag to resize

QuadtreeTCreate Method

Creates a Quadtree.

Namespace:  Archon.SwissArmyLib.Partitioning
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Quadtree<T> Create(
	Rect bounds,
	int maxItems,
	int maxDepth
)
Request Example View Source

Parameters

bounds
Type: Rect
The size of the tree's bounds.
maxItems
Type: SystemInt32
The amount of items a node can contain before splitting.
maxDepth
Type: SystemInt32
The maximum depth

Return Value

Type: QuadtreeT
The quadtree.
See Also