Skip to main content

b2RecPlayer_DrawFrameQueries

Function b2RecPlayer_DrawFrameQueries 

Source
pub unsafe extern "C" fn b2RecPlayer_DrawFrameQueries(
    player: *mut b2RecPlayer,
    draw: *mut b2DebugDraw,
    queryIndex: c_int,
)
Expand description

Draw spatial queries recorded during the most recently replayed frame. Call after b2World_Draw so queries are layered on top of the world. @param player A valid player handle @param draw Debug draw callbacks. NULL draw function pointers are skipped. @param queryIndex Index into the frame’s queries to draw, or -1 to draw all of them.