Table of Contents

Method OverlapBox<TCallback>

Namespace
Box3D
Assembly
Box3D.NET.dll

OverlapBox<TCallback>(Vector3, Vector3, ref TCallback, QueryFilter?)

Finds every shape whose bounding box overlaps a box centred on a point.

public void OverlapBox<TCallback>(Vector3 center, Vector3 halfExtents, ref TCallback callback, QueryFilter? filter = null) where TCallback : struct, IOverlapCallback

Parameters

center Vector3

The centre of the box, in world space.

halfExtents Vector3

The half-widths of the box.

callback TCallback

The callback, passed by reference.

filter QueryFilter?

Which shapes may be reported, or null for everything.

Type Parameters

TCallback

The callback type.