# TexturePropertyMiniThumbnail(Rect, MaterialProperty, string, string)

> Draw a property field for a texture shader property that only takes up a single line height.

## Definition

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

```csharp
public Texture TexturePropertyMiniThumbnail(Rect position, MaterialProperty prop, string label, string tooltip)
```

### Parameters

**** (\[Rect]\(/engine/6000.7/script-reference/unityengine/rect)): Rect that this control should be rendered in.**** (\[MaterialProperty]\(/engine/6000.7/script-reference/unityeditor/materialproperty)): **** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Label for the field.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                              | Description                                |
| ----------------------------------------------------------------- | ------------------------------------------ |
| [Texture](/engine/6000.7/script-reference/unityengine/texture.md) | Returns total height used by this control. |

### Remarks

The thumbnail is shown to the left of the label. Note for some textures it might use more vertical space than a single line height because of an additional information box.
