transformUVs
Modify UV coordinates of vertices in 3D models by applying offsets or new values to U and V channels. Integrates with 3D-MCP for seamless UV mapping adjustments.
Instructions
Transform UV coordinates for vertices
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | UV transformation operations |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "UV transformation operations",
"items": {
"additionalProperties": false,
"properties": {
"channel": {
"default": 0,
"description": "Target UV channel",
"minimum": 0,
"type": "integer"
},
"meshId": {
"description": "Mesh identifier",
"type": "string"
},
"vertexTransforms": {
"description": "Per-vertex UV transformations",
"items": {
"additionalProperties": false,
"properties": {
"offsetU": {
"description": "U offset to apply",
"type": "number"
},
"offsetV": {
"description": "V offset to apply",
"type": "number"
},
"u": {
"description": "New U coordinate",
"type": "number"
},
"v": {
"description": "New V coordinate",
"type": "number"
},
"vertexId": {
"description": "Vertex identifier",
"type": "string"
}
},
"required": [
"vertexId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"meshId",
"vertexTransforms"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}