# MaterialProperty.PropType

> Material property type.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use UnityEngine.Rendering.ShaderPropertyType instead.
>
> **Upgrade to** [ShaderPropertyType](/engine/6000.6/script-reference/unityengine/rendering/shaderpropertytype.md)

```csharp
public enum MaterialProperty.PropType
```

## Remarks

Material properties can be textures, colors, floats and so on.

Additional Resources: [MaterialProperty.type](/engine/6000.6/script-reference/unityeditor/materialproperty/type.md).

## Fields

| Value                                                                                       | Description                                  |
| ------------------------------------------------------------------------------------------- | -------------------------------------------- |
| [Color](/engine/6000.6/script-reference/unityeditor/materialproperty/proptype/color.md)     | Color property.                              |
| [Float](/engine/6000.6/script-reference/unityeditor/materialproperty/proptype/float.md)     | Float property.                              |
| [Int](/engine/6000.6/script-reference/unityeditor/materialproperty/proptype/int.md)         | Int property.                                |
| [Range](/engine/6000.6/script-reference/unityeditor/materialproperty/proptype/range.md)     | Ranged float (with min/max values) property. |
| [Texture](/engine/6000.6/script-reference/unityeditor/materialproperty/proptype/texture.md) | Texture property.                            |
| [Vector](/engine/6000.6/script-reference/unityeditor/materialproperty/proptype/vector.md)   | Vector property.                             |
