# Interface: IAtlasOptions

`Atlas`的初始化参数类型。

## Table of contents

### Properties

- frames
- image
- meta
- texture

## Properties

### frames

• **frames**: `Object`

帧定义，若不指定`uv`则会自动按比例计算。

#### Index signature

▪ [key: `string`]: { `frame`: { `h`: `number` ; `w`: `number` ; `x`: `number` ; `y`: `number`  }  }

___

### image

• `Optional` **image**: [`IImage`](IImage)

图片。

___

### meta

• **meta**: `Object`

原信息，主要定义图片尺寸。

#### Type declaration

| Name | Type |
| :------ | :------ |
| `size` | { `h`: `number` ; `w`: `number`  } |
| `size.h` | `number` |
| `size.w` | `number` |

___

### texture

• `Optional` **texture**: `default`

也可以直接传入一张纹理。
