Click or drag to resize

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
C#
public static Octree<T> Create(
	Bounds bounds,
	int maxItems,
	int maxDepth
)
Request Example View Source

Parameters

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: OctreeT
The octree.
See Also