sub SetMaterialType( material_id, mat_type)

Sets the material type

Possible material types


Related: GetMaterialType