Skip to main content

shape_set_name

Function shape_set_name 

Source
pub fn shape_set_name(world: &mut World, shape_id: ShapeId, name: &str)
Expand description

Set the shape name (truncated to SHAPE_NAME_LENGTH). Uses the world name cache rather than C’s fixed char buffer. (b3Shape_SetName)