Struct DynamicTree.Node
Represents a node in the AABB tree.
public struct DynamicTree.Node
- Inherited Members
Fields
ExpandedBox
The expanded bounding box of this node, used for broadphase culling. For leaf nodes, this is the proxy's bounding box expanded by velocity and a margin. For internal nodes, this is the union of its children's boxes.
public TreeBox ExpandedBox
Field Value
ForceUpdate
When set, forces the node to be updated in the next Update(bool, float) call, even if its bounding box hasn't changed.
public bool ForceUpdate
Field Value
Left
Index of the left child node, or NullNode if this is a leaf.
public int Left
Field Value
Parent
Index of the parent node, or NullNode if this is the root.
public int Parent
Field Value
Proxy
The proxy associated with this node, or null for internal nodes.
public IDynamicTreeProxy? Proxy
Field Value
Right
Index of the right child node, or NullNode if this is a leaf.
public int Right
Field Value
Properties
IsLeaf
Returns true if this is a leaf node (has an associated proxy).
public readonly bool IsLeaf { get; }