TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

struct SpatialTreeNode in Tinman.Terrain.Util

Represents a node in a spatial tree.

struct SpatialTreeNode with <TBounds> as struct

Public / Attributes

Bounds

The spatial bounds of this tree node.

public readonly field Bounds
type TBounds

Count

The maximum number of children per tree node.

public property Count { get }
type int32
value [>0] The maximum child count.

IsEmpty

Is this tree node empty?

public property IsEmpty { get }
type bool
value true if this tree node does not contain any geometry, false if not.

IsInvalid

Is this node invalid?

public property IsInvalid { get }
type bool
value true if this value is invalid, false if not.

Public / Methods

Child

Returns a child of this node.

public method Child (int32 index)
type SpatialTreeNode<TBounds>
params index [0..Count-1] The child index.
returns The child node. Will be invalid if the child does not exist (see IsInvalid).