Skip to main content

shape_set_user_material

Function shape_set_user_material 

Source
pub fn shape_set_user_material(
    world: &mut World,
    shape_id: ShapeId,
    material: u64,
)
Expand description

Set the shape’s user material identifier. (b2Shape_SetUserMaterial)