Table of Contents

Method b3RecPlayer_DrawFrameQueries

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

b3RecPlayer_DrawFrameQueries(b3RecPlayer*, b3DebugDraw*, int, int)

Draw the spatial queries recorded during the most recently replayed frame, layered on top of the world. Call after b3World_Draw. NULL draw function pointers are skipped.

public static extern void b3RecPlayer_DrawFrameQueries(b3RecPlayer* player, b3DebugDraw* draw, int queryIndex, int selectedIndex)

Parameters

player b3RecPlayer*

a valid player handle

draw b3DebugDraw*

debug draw callbacks

queryIndex int

index of the frame query to draw, or -1 to draw all of them

selectedIndex int

index of the query to emphasize (reserved color plus a label), or -1 for none