# propertyType

> The type of the property.

## Definition

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

```csharp
public ShaderPropertyType propertyType { get; }
```

### Remarks

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