Table of Contents

Struct PairCacheChangeIndex

Namespace
BepuPhysics.CollisionDetection
Assembly
BepuPhysics.dll

Refers to a change in a PairCache.

public struct PairCacheChangeIndex
Inherited Members

Fields

Index

Index of the change in the cache. For pending changes, refers to the index within the pending cache; for a direct mapping changes, refers to the pair index.

public int Index

Field Value

int

WorkerIndex

Index of the WorkerPendingPairChanges storing the pending change, if any. If -1, then this pair cache change refers to a change directly to the mapping.

public int WorkerIndex

Field Value

int

Properties

IsPending

Gets whether this change is in the PairCache

public bool IsPending { get; }

Property Value

bool