| OctreeTCreate Method |
Creates an Octree.
Namespace:
Archon.SwissArmyLib.Partitioning
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Octree<T> Create(
Bounds bounds,
int maxItems,
int maxDepth
)
Request Example
View SourceParameters
- bounds
- Type: Bounds
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:
OctreeTThe octree.
See Also