# SpriteMeshType

> Defines the type of mesh generated for a sprite.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum SpriteMeshType
```

## Fields

| Value                                                                              | Description                                                                            |
| ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [FullRect](/engine/6000.7/script-reference/unityengine/spritemeshtype/fullrect.md) | Rectangle mesh equal to the user specified sprite size.                                |
| [Tight](/engine/6000.7/script-reference/unityengine/spritemeshtype/tight.md)       | Tight mesh based on pixel alpha values. As many excess pixels are cropped as possible. |
