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
- FX_MATERIAL_TYPE_NORMAL_BLEND
- FX_MATERIAL_TYPE_REFRACTION
- FX_MATERIAL_TYPE_REFRACTION2
- FX_MATERIAL_TYPE_GOOCH
- FX_MATERIAL_TYPE_PLASTIC
- FX_MATERIAL_TYPE_TANGENT
- FX_MATERIAL_TYPE_SPEAKER
- FX_MATERIAL_TYPE_PHONG_TEXTURE
- FX_MATERIAL_TYPE_STYLE
- FX_MATERIAL_TYPE_STYLE2
- FX_MATERIAL_TYPE_STYLE3
- FX_MATERIAL_TYPE_STYLE4

Related: SetMaterialType GetActorMaterialType SetActorMaterialType