Struct Leaf
- Namespace
- BepuPhysics.Trees
- Assembly
- BepuPhysics.dll
Pointer to a leaf's tree location.
public struct Leaf
- Inherited Members
Remarks
The identity of a leaf is implicit in its position within the leaf array.
Constructors
Leaf(int, int)
public Leaf(int nodeIndex, int childIndex)
Parameters
Properties
ChildIndex
Gets which child within the owning node the leaf is in.
public int ChildIndex { get; }
Property Value
NodeIndex
Gets the index of the node that the leaf is directly held by.
public int NodeIndex { get; }