b2Shape_GetSensorCapacity

Function b2Shape_GetSensorCapacity 

Source
pub unsafe extern "C" fn b2Shape_GetSensorCapacity(
    shapeId: b2ShapeId,
) -> c_int
Expand description

Get the maximum capacity required for retrieving all the overlapped shapes on a sensor shape. This returns 0 if the provided shape is not a sensor. @param shapeId the id of a sensor shape @returns the required capacity to get all the overlaps in b2Shape_GetSensorOverlaps