# SpriteMetaData

> Editor data used in producing a Sprite.

## Definition

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

```csharp
public struct SpriteMetaData
```

## Remarks

Additional Resources: [TextureImporter.spritesheet](/engine/6000.5/script-reference/unityeditor/textureimporter/spritesheet.md).

## Fields

| Value                                                                                | Description                                                        |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------ |
| [alignment](/engine/6000.5/script-reference/unityeditor/spritemetadata/alignment.md) | Edge-relative alignment of the sprite graphic.                     |
| [border](/engine/6000.5/script-reference/unityeditor/spritemetadata/border.md)       | Edge border size for a sprite (in pixels).                         |
| [name](/engine/6000.5/script-reference/unityeditor/spritemetadata/name.md)           | Name of the Sprite.                                                |
| [pivot](/engine/6000.5/script-reference/unityeditor/spritemetadata/pivot.md)         | The pivot point of the Sprite, relative to its bounding rectangle. |
| [rect](/engine/6000.5/script-reference/unityeditor/spritemetadata/rect.md)           | Bounding rectangle of the sprite's graphic within the atlas image. |
