# GetDefaultTexture(string)

> Gets the default texture assigned to the shader importer for the shader property with given name.

## Definition

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

```csharp
public Texture GetDefaultTexture(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                              | Description |
| ----------------------------------------------------------------- | ----------- |
| [Texture](/engine/6000.0/script-reference/unityengine/texture.md) |             |
