Method b3DynamicTree_BoxCast
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3DynamicTree_BoxCast(b3DynamicTree*, b3BoxCastInput*, ulong, NativeBool, delegate* unmanaged[Cdecl]<b3BoxCastInput*, int, ulong, void*, float>, void*)
Sweep an AABB through the tree. The box is in the tree's world float frame and the callback re-differences each shape at full precision against the query origin. Used by the large world spatial queries so the tree traversal stays float while the narrow phase stays precise.
public static extern b3TreeStats b3DynamicTree_BoxCast(b3DynamicTree* tree, b3BoxCastInput* input, ulong maskBits, NativeBool requireAllBits, delegate* unmanaged[Cdecl]<b3BoxCastInput*, int, ulong, void*, float> callback, void* context)Parameters
treeb3DynamicTree*-
See the Box3D documentation.
inputb3BoxCastInput*-
See the Box3D documentation.
maskBitsulong-
See the Box3D documentation.
requireAllBitsNativeBool-
See the Box3D documentation.
callbackdelegate* unmanaged[Cdecl]<b3BoxCastInput*, int, ulong, void*, float>-
See the Box3D documentation.
contextvoid*-
See the Box3D documentation.
Returns
- b3TreeStats
-
See the Box3D documentation.