# TextureGenerator

> Experimental utilities for generating Texture2D.

## Definition

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

```csharp
public static class TextureGenerator
```

## Static Methods

| Method                                                                                                            | Description                                                                                                                                                                                |
| ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [GenerateTexture](/engine/6000.7/script-reference/unityeditor/assetimporters/texturegenerator/generatetexture.md) | Generates [Texture2D](/engine/6000.7/script-reference/unityengine/texture2d.md) and [Sprite](/engine/6000.7/script-reference/unityengine/sprite.md) Assets based on the settings provided. |
