Skip to main content

chain_get_surface_material_count

Function chain_get_surface_material_count 

Source
pub fn chain_get_surface_material_count(world: &World, chain_id: ChainId) -> i32
Expand description

Get the number of chain surface materials: 1 (shared) or the segment count. (b2Chain_GetSurfaceMaterialCount)