#title setActorMaterialType [RCBasic Doc]
#header sub  setActorMaterialType( actor,  material_type)

Sets the material type of an actor material

Note: This will set material 0. If your actor has more than one material you need to get a reference to the actor material with GetActorMaterial() to set them.

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 MATERIAL_TYPE_FORCE_32BIT 
#/list

#ref GetActorMaterialType GetActorMaterial
