| 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 public static Quadtree<T> Create(
Rect bounds,
int maxItems,
int maxDepth
)
Request Example
View SourceParameters
- 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:
QuadtreeTThe quadtree.
See Also