Action Image
Texture Atlas Creation
Packs multiple images of varying sizes into a single texture atlas, preserving their aspect ratios.
Node IDTextureAtlasAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Source Image Paths sourceImagePaths | array_string | Yes | — | A list of file paths for the images to pack. |
Output Atlas Path outputFilePath | file_picker | Yes | — | The full path to save the new texture atlas (e.g., "C:/temp/atlas.png"). |
Max Width maxWidth | integer min 64 | Yes | 2048 | The maximum allowed width for the final atlas. |
Max Height maxHeight | integer min 64 | Yes | 2048 | The maximum allowed height for the final atlas. |
Padding (px) padding | integer min 0 | No | 1 | The amount of space in pixels to leave between each image. |
Overwrite overwrite | boolean | No | false | If true, overwrites an existing file at the output path. |
Create Directory createDirectory | boolean | No | true | If true, creates the parent directory for the output file if it doesn't exist. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | Triggers the atlas creation. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Success output0 | atlasData | — | Fires on success. Data contains the atlas path and a JSON map of image locations. |