MaterialProperty.type
var type: PropType;
PropType type;
type as PropType
Description

Type of the property (Read Only).

Material properties can be textures, colors, floats and so on. Depending on the type, you should use textureValue, colorValue, vectorValue or floatValue to access the property value.