## 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

- MATERIAL_TYPE_SOLID
- MATERIAL_TYPE_SOLID_2_LAYER
- MATERIAL_TYPE_LIGHTMAP
- MATERIAL_TYPE_LIGHTMAP_ADD
- MATERIAL_TYPE_LIGHTMAP_M2
- MATERIAL_TYPE_LIGHTMAP_M4
- MATERIAL_TYPE_LIGHTMAP_LIGHTING
- MATERIAL_TYPE_LIGHTMAP_LIGHTING_M2
- MATERIAL_TYPE_LIGHTMAP_LIGHTING_M4
- MATERIAL_TYPE_DETAIL_MAP
- MATERIAL_TYPE_SPHERE_MAP
- MATERIAL_TYPE_REFLECTION_2_LAYER
- MATERIAL_TYPE_TRANSPARENT_ADD_COLOR
- MATERIAL_TYPE_TRANSPARENT_ALPHA_CHANNEL
- MATERIAL_TYPE_TRANSPARENT_ALPHA_CHANNEL_REF
- MATERIAL_TYPE_TRANSPARENT_VERTEX_ALPHA
- MATERIAL_TYPE_TRANSPARENT_REFLECTION_2_LAYER
- MATERIAL_TYPE_NORMAL_MAP_SOLID
- MATERIAL_TYPE_NORMAL_MAP_TRANSPARENT_ADD_COLOR
- MATERIAL_TYPE_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA
- MATERIAL_TYPE_PARALLAX_MAP_SOLID
- MATERIAL_TYPE_PARALLAX_MAP_TRANSPARENT_ADD_COLOR
- MATERIAL_TYPE_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA
- MATERIAL_TYPE_ONETEXTURE_BLEND
- MATERIAL_TYPE_FORCE_32BIT

Related: GetActorMaterialType GetActorMaterial