Class CompoundPairCollisionTask<TCompoundA, TCompoundB, TOverlapFinder, TContinuationHandler, TContinuation>
- Namespace
- BepuPhysics.CollisionDetection.CollisionTasks
- Assembly
- BepuPhysics.dll
public class CompoundPairCollisionTask<TCompoundA, TCompoundB, TOverlapFinder, TContinuationHandler, TContinuation> : CollisionTask where TCompoundA : unmanaged, IShape, IBoundsQueryableCompound where TCompoundB : unmanaged, IShape, IBoundsQueryableCompound where TOverlapFinder : struct, ICompoundPairOverlapFinder where TContinuationHandler : struct, ICompoundPairContinuationHandler<TContinuation> where TContinuation : struct, ICollisionTestContinuation
Type Parameters
TCompoundA
TCompoundB
TOverlapFinder
TContinuationHandler
TContinuation
- Inheritance
-
CompoundPairCollisionTask<TCompoundA, TCompoundB, TOverlapFinder, TContinuationHandler, TContinuation>
- Inherited Members
Constructors
CompoundPairCollisionTask()
public CompoundPairCollisionTask()
Methods
ExecuteBatch<TCallbacks>(ref UntypedList, ref CollisionBatcher<TCallbacks>)
Executes the task on the given input.
public override void ExecuteBatch<TCallbacks>(ref UntypedList batch, ref CollisionBatcher<TCallbacks> batcher) where TCallbacks : struct, ICollisionCallbacks
Parameters
batch
UntypedListBatch of pairs to test.
batcher
CollisionBatcher<TCallbacks>Batcher responsible for the invocation.
Type Parameters
TCallbacks
Type of the callbacks used to handle results of collision tasks.