Struct b3TreeNode
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
A node in the dynamic tree. Mirror of b3TreeNode.
public struct b3TreeNodeInherited Members
Remarks
This is internal data, exposed for performance. It contains two unions: the children of an internal node overlap the user data of a leaf, and the parent index of an allocated node overlaps the free-list link of a free node. Which member is live follows from Box3D.Native.b3TreeNode.flags.
Fields
- aabb
-
The node bounding box.
- categoryBits
-
The category bits used for collision filtering.
- children
-
The child indices. Valid when the node is not a leaf.
- flags
-
The node flags.
- height
-
The height of the node. Leaves have height zero.
- next
-
The next free node index. Valid when the node is on the free list.
- parent
-
The parent node index. Valid when the node is allocated.
- userData
-
The user data. Valid when the node is a leaf.