#title SetMaterialType [RCBasic Doc]
#header sub  SetMaterialType( material_id,  mat_type)

Sets the material type

Possible material types
#list ul
#li MATERIAL_TYPE_SOLID 
#li MATERIAL_TYPE_SOLID_2_LAYER 
#li MATERIAL_TYPE_LIGHTMAP 
#li MATERIAL_TYPE_LIGHTMAP_ADD 
#li MATERIAL_TYPE_LIGHTMAP_M2 
#li MATERIAL_TYPE_LIGHTMAP_M4 
#li MATERIAL_TYPE_LIGHTMAP_LIGHTING 
#li MATERIAL_TYPE_LIGHTMAP_LIGHTING_M2 
#li MATERIAL_TYPE_LIGHTMAP_LIGHTING_M4 
#li MATERIAL_TYPE_DETAIL_MAP 
#li MATERIAL_TYPE_SPHERE_MAP 
#li MATERIAL_TYPE_REFLECTION_2_LAYER 
#li MATERIAL_TYPE_TRANSPARENT_ADD_COLOR 
#li MATERIAL_TYPE_TRANSPARENT_ALPHA_CHANNEL 
#li MATERIAL_TYPE_TRANSPARENT_ALPHA_CHANNEL_REF 
#li MATERIAL_TYPE_TRANSPARENT_VERTEX_ALPHA 
#li MATERIAL_TYPE_TRANSPARENT_REFLECTION_2_LAYER 
#li MATERIAL_TYPE_NORMAL_MAP_SOLID 
#li MATERIAL_TYPE_NORMAL_MAP_TRANSPARENT_ADD_COLOR 
#li MATERIAL_TYPE_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA 
#li MATERIAL_TYPE_PARALLAX_MAP_SOLID 
#li MATERIAL_TYPE_PARALLAX_MAP_TRANSPARENT_ADD_COLOR 
#li MATERIAL_TYPE_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA 
#li MATERIAL_TYPE_ONETEXTURE_BLEND 
#li FX_MATERIAL_TYPE_NORMAL_BLEND
#li FX_MATERIAL_TYPE_REFRACTION
#li FX_MATERIAL_TYPE_REFRACTION2
#li FX_MATERIAL_TYPE_GOOCH
#li FX_MATERIAL_TYPE_PLASTIC
#li FX_MATERIAL_TYPE_TANGENT
#li FX_MATERIAL_TYPE_SPEAKER
#li FX_MATERIAL_TYPE_PHONG_TEXTURE
#li FX_MATERIAL_TYPE_STYLE
#li FX_MATERIAL_TYPE_STYLE2
#li FX_MATERIAL_TYPE_STYLE3
#li FX_MATERIAL_TYPE_STYLE4
#/list

#ref GetMaterialType
