Table of Contents

Interface IThreadedOverlapHandler

Namespace
BepuPhysics.Trees
Assembly
BepuPhysics.dll

Overlap callback for tree overlap queries. Used in multithreaded contexts.

public interface IThreadedOverlapHandler

Methods

Handle(int, int, int, object)

Handles an overlap between leaves.

void Handle(int indexA, int indexB, int workerIndex, object managedContext)

Parameters

indexA int

Index of the first leaf in the overlap.

indexB int

Index of the second leaf in the overlap.

workerIndex int

Index of the worker reporting the overlap.

managedContext object

Managed context provided by the multithreaded dispatch.