createUVMaps
Generate multiple UV maps by defining UV channels, coordinates, and associated mesh IDs to map textures accurately onto 3D models.
Instructions
Create multiple UVMaps
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Array of UVMaps to create |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Array of UVMaps to create",
"items": {
"additionalProperties": false,
"properties": {
"channel": {
"description": "UV channel index",
"minimum": 0,
"type": "integer"
},
"coordinates": {
"description": "UV coordinates per vertex",
"items": {
"additionalProperties": false,
"properties": {
"u": {
"description": "U coordinate",
"type": "number"
},
"v": {
"description": "V coordinate",
"type": "number"
},
"vertexId": {
"description": "Vertex identifier",
"type": "string"
}
},
"required": [
"vertexId",
"u",
"v"
],
"type": "object"
},
"type": "array"
},
"meshId": {
"description": "ID of the associated mesh",
"type": "string"
},
"metadata": {
"additionalProperties": {},
"description": "Additional tool-specific metadata",
"type": "object"
},
"name": {
"description": "Display name",
"type": "string"
}
},
"required": [
"name",
"meshId",
"channel",
"coordinates"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}