Class ConvexCompoundCollisionTask<TConvex, TCompound, TOverlapFinder, TContinuationHandler, TContinuation>
- Namespace
- BepuPhysics.CollisionDetection.CollisionTasks
- Assembly
- BepuPhysics.dll
public class ConvexCompoundCollisionTask<TConvex, TCompound, TOverlapFinder, TContinuationHandler, TContinuation> : CollisionTask where TConvex : unmanaged, IConvexShape where TCompound : unmanaged, IShape, IBoundsQueryableCompound where TOverlapFinder : struct, IConvexCompoundOverlapFinder where TContinuationHandler : struct, IConvexCompoundContinuationHandler<TContinuation> where TContinuation : struct, ICollisionTestContinuation
Type Parameters
TConvex
TCompound
TOverlapFinder
TContinuationHandler
TContinuation
- Inheritance
-
ConvexCompoundCollisionTask<TConvex, TCompound, TOverlapFinder, TContinuationHandler, TContinuation>
- Inherited Members
Constructors
ConvexCompoundCollisionTask()
public ConvexCompoundCollisionTask()
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.