l2_batch_import_textures
Batch import PNG/BMP/TGA/JPG images into a new Unreal Engine .utx package. Specify input directory and output path, with optional texture format and mip generation.
Instructions
Import all PNG/BMP images from a directory into a new .utx package.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_dir": "<input_dir>"
},
"name": "l2_batch_import_textures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | Output .utx path. Default 'ImportedTextures.utx'. | |
| input_dir | Yes | Directory with PNG/BMP/TGA/JPG images. | |
| package_name | No | Internal package name. Auto-generated if empty. | |
| generate_mips | No | Generate mip levels. Default true. | |
| texture_format | No | UE texture format: 3=DXT1, 5=DXT5, 6=DXT5. Default 3. |