Skip to main content

b3RecPlayer_DrawFrameQueries

Function b3RecPlayer_DrawFrameQueries 

Source
pub unsafe extern "C" fn b3RecPlayer_DrawFrameQueries(
    player: *mut b3RecPlayer,
    draw: *mut b3DebugDraw,
    queryIndex: c_int,
    selectedIndex: c_int,
)
Expand description

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. @param player a valid player handle @param draw debug draw callbacks @param queryIndex index of the frame query to draw, or -1 to draw all of them @param selectedIndex index of the query to emphasize (reserved color plus a label), or -1 for none