Class ConvexCollisionTask<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPair, TPairWide, TManifoldWide, TPairTester>
- Namespace
- BepuPhysics.CollisionDetection.CollisionTasks
- Assembly
- BepuPhysics.dll
public class ConvexCollisionTask<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPair, TPairWide, TManifoldWide, TPairTester> : CollisionTask where TShapeA : unmanaged, IShape where TShapeWideA : unmanaged, IShapeWide<TShapeA> where TShapeB : unmanaged, IShape where TShapeWideB : unmanaged, IShapeWide<TShapeB> where TPair : unmanaged, ICollisionPair<TPair> where TPairWide : unmanaged, ICollisionPairWide<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPair, TPairWide> where TManifoldWide : unmanaged, IContactManifoldWide where TPairTester : struct, IPairTester<TShapeWideA, TShapeWideB, TManifoldWide>
Type Parameters
TShapeA
TShapeWideA
TShapeB
TShapeWideB
TPair
TPairWide
TManifoldWide
TPairTester
- Inheritance
-
ConvexCollisionTask<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPair, TPairWide, TManifoldWide, TPairTester>
- Inherited Members
Constructors
ConvexCollisionTask()
public ConvexCollisionTask()
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.