# type

> Type of the property (Read Only).

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public MaterialProperty.PropType type { get; }
```

### Remarks

Material properties can be textures, colors, floats and so on. Depending on the type, you should use [MaterialProperty.textureValue](/engine/6000.0/script-reference/unityeditor/materialproperty/texturevalue.md), [MaterialProperty.colorValue](/engine/6000.0/script-reference/unityeditor/materialproperty/colorvalue.md), [MaterialProperty.vectorValue](/engine/6000.0/script-reference/unityeditor/materialproperty/vectorvalue.md) or [MaterialProperty.floatValue](/engine/6000.0/script-reference/unityeditor/materialproperty/floatvalue.md) to access the property value.
