Table of Contents

Struct ConstraintLocation

Namespace
BepuPhysics
Assembly
BepuPhysics.dll

Location in memory where a constraint is stored.

public struct ConstraintLocation
Inherited Members

Fields

BatchIndex

Index of the constraint batch the constraint belongs to.

public int BatchIndex

Field Value

int

IndexInTypeBatch

Index of the constraint in a type batch.

public int IndexInTypeBatch

Field Value

int

SetIndex

Index of the constraint set that owns the constraint. If zero, the constraint is attached to bodies that are awake.

public int SetIndex

Field Value

int

TypeId

Type id of the constraint. Used to look up the type batch index in a constraint batch's type id to type batch index table.

public int TypeId

Field Value

int