SpatialTreeNode Description struct Tinman.Terrain.Util.SpatialTreeNode → <TBounds val> Represents a node in a spatial tree. Public / Methods Child public method Child → (1) index in : int32 [0..SpatialTreeNode.Count-1] The child index. returns → SpatialTreeNode<TBounds> The child node. Will be invalid if the child does not exist (see IsInvalid). Returns a child of this node. Public / Attributes Bounds public readonly attribute Bounds → (TBounds) The bounding-box of the spatial entities in this tree node, including all descendants. Count public attribute Count → (get) value : int32 [>0] The maximum child count. The maximum number of children per tree node. Entities public attribute Entities → (get) value : int32 [>=0] The number of spatial tree nodes. Will be 0 iff empty. The number of spatial entities in the tree node. See also SpatialTreeNode.IsEmpty IsEmpty public attribute IsEmpty → (get) value : bool true if this tree node does not contain any spatial entities, false if it contains at least one spatial entity. Is this tree node empty? See also SpatialTreeNode.Entities IsInvalid public attribute IsInvalid → (get) value : bool true if this value is invalid, false if not. Is this node invalid? SpatialTree SpatialTree_Base