Skip to main content

b2Chain_GetRuntimeSurfaceMaterialCount

Function b2Chain_GetRuntimeSurfaceMaterialCount 

Source
pub unsafe extern "C" fn b2Chain_GetRuntimeSurfaceMaterialCount(
    chainId: b2ChainId,
) -> c_int
Expand description

Extension used by boxdd to normalize runtime chain materials to visible segments. Returns 1 for single-material chains, otherwise the number of live segments.