Table of Contents

Method b3World_OverlapShape

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3World_OverlapShape(b3WorldId, Vector3, b3ShapeProxy*, b3QueryFilter, delegate* unmanaged[Cdecl]<b3ShapeId, void*, NativeBool>, void*)

Overlap test for all shapes that overlap the provided shape proxy. The proxy points are relative to the world origin, which lets the query stay precise far from the world origin.

public static extern b3TreeStats b3World_OverlapShape(b3WorldId worldId, Vector3 origin, b3ShapeProxy* proxy, b3QueryFilter filter, delegate* unmanaged[Cdecl]<b3ShapeId, void*, NativeBool> fcn, void* context)

Parameters

worldId b3WorldId

See the Box3D documentation.

origin Vector3

See the Box3D documentation.

proxy b3ShapeProxy*

See the Box3D documentation.

filter b3QueryFilter

See the Box3D documentation.

fcn delegate* unmanaged[Cdecl]<b3ShapeId, void*, NativeBool>

See the Box3D documentation.

context void*

See the Box3D documentation.

Returns

b3TreeStats

See the Box3D documentation.