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, IOverlapCallbackParameters
centerVector3-
The centre of the box, in world space.
halfExtentsVector3-
The half-widths of the box.
callbackTCallback-
The callback, passed by reference.
filterQueryFilter?-
Which shapes may be reported, or null for everything.
Type Parameters
TCallback-
The callback type.