# getMaterialType [RCBasic Doc]

## function getMaterialType( material_id)

Returns a material's type

Possible 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: SetMaterialType GetActorMaterialType SetActorMaterialType