b2Chain_SetSurfaceMaterial

Function b2Chain_SetSurfaceMaterial 

Source
pub unsafe extern "C" fn b2Chain_SetSurfaceMaterial(
    chainId: b2ChainId,
    material: *const b2SurfaceMaterial,
    materialIndex: c_int,
)
Expand description

Set a chain material. If the chain has only one material, this material is applied to all segments. Otherwise it is applied to a single segment.