transformVertices
Apply precise vertex transformations in 3D models using position, offset, and normal vector adjustments. Streamline edits with a unified API for Digital Content Creation tools.
Instructions
Transform multiple vertices
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Vertex transformations to apply |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Vertex transformations to apply",
"items": {
"additionalProperties": false,
"properties": {
"normal": {
"$ref": "#/properties/items/items/properties/position",
"description": "New normal vector [nx, ny, nz]"
},
"offset": {
"$ref": "#/properties/items/items/properties/position",
"description": "Position offset to apply [dx, dy, dz]"
},
"position": {
"description": "New position [x, y, z]",
"items": {
"type": "number"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"vertexId": {
"description": "Vertex identifier",
"type": "string"
}
},
"required": [
"vertexId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}