setMaterial

expect fun setMaterial(material: Int)

Set the material for all segments of this chain.