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
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
Properties
IsPending
Gets whether this change is in the PairCache
public bool IsPending { get; }