Struct PassthroughReferenceCollector
- Namespace
- BepuPhysics
- Assembly
- BepuPhysics.dll
Directly reports references as provided by whatever is being enumerated. For example, when used directly with the TypeProcessor's EnumerateConnectedRawBodyReferences, if the constraint is active, this will report encoded body indices. If the constraint is sleeping, this will report body handles. If used with an enumerator that does filtering, the filtered results will be reported unmodified.
public struct PassthroughReferenceCollector : IForEach<int>
- Implements
-
IForEach<int>
- Inherited Members
Constructors
PassthroughReferenceCollector(int*)
public PassthroughReferenceCollector(int* references)
Parameters
references
int*
Fields
Index
public int Index
Field Value
References
public int* References
Field Value
- int*
Methods
LoopBody(int)
public void LoopBody(int reference)
Parameters
reference
int