Table of Contents

Struct Metanode

Namespace
BepuPhysics.Trees
Assembly
BepuPhysics.dll

Metadata associated with a 2-child tree node.

public struct Metanode
Inherited Members

Fields

IndexInParent

public int IndexInParent

Field Value

int

LocalCostChange

Cached change in cost of the tree starting at this node since the previous frame. The local cost change is unioned with the refine flags. They're never used simultaneously. This will be overwritten right after use, so don't expect anything meaningful here outside of refinement scheduling's scope.

public float LocalCostChange

Field Value

float

Parent

public int Parent

Field Value

int

RefineFlag

public int RefineFlag

Field Value

int