The Layout view allows you to configure the basic properties of your project.
Option | Description |
---|---|
Background color | Allows you to set the background color of the sprite sheet Although the default is transparent, not all export formats (for example Jpeg) support alpha channels. |
Growth direction | The growth direction determines how the sprite sheet is sized as it is only resized along one axis.
|
Maximum size | Specifies the maximum size of the sprite sheet on the opposite axis to the growth direction. This allows the sprite sheet to grow infinitely in one direction, but not both. If the growth direction is Down, this setting sets the maximum width of the sprite sheet. If the growth direction is Across, this setting sets the maximum height. NoteIf you are using the Complex layout, the sprite sheet may be smaller than the maximum size specified |
Use power of two | This option forces the dimensions of the sprite sheet to always be a power of two, which is very useful for when creating texture atlases for games. When this option is set, validation errors will be displayed if the Maximum Size or Minimum Size attributes are not powers of two. |
Minimum size | Specifies the minimum size of the sprite sheet. You can use this setting for if the output image must have a minimum size. You also only specify either a width or a height to force a minimum for a single axis only. |
Packing method | Allows you to configure a packing method. The Complex packing method can take considerable time to run and is not recommended for projects which many images |
Sort images by size | If this option is set, all images (including any dynamic images) are sorted by size prior to the layout being calculated |
Background color | Allows you to set the background color of the sprite sheet |
Growth direction | Allows you to specify how the sprite sheet will grow |
Maximum size | Specifies the maximum size of the sprite sheet. If the growth direction is Down, then this field specifies the maximum width of the sprite sheet. Conversely, if the growth direction is Across, then this field specifies the maximum height. |
Use power of two | Specifies that the sprite sheet's dimensions should always be a power of two. This is useful when generating graphics used for games development. |
Minimum width | Specifies the minimum width of the sprite sheet |
Minimum height | Specifies the minimum height of the sprite sheet |
Packing method | Allows you to configure a packing method. The Complex packing method can take considerable time to run and is not recommended for projects which many images |
Sort images by size | If this option is set, all images (including derived) are sorted by size prior to laying out |