3D-MCP

by team-plask
Verified

updateMeshs

Update multiple Meshs in a single operation

Input Schema

NameRequiredDescriptionDefault
itemsYesArray of Meshs to update with their IDs

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "items": { "description": "Array of Meshs to update with their IDs", "items": { "additionalProperties": false, "properties": { "castShadow": { "default": true, "description": "Whether the object casts shadows", "type": "boolean" }, "childIds": { "default": [], "description": "Child object IDs", "items": { "type": "string" }, "type": "array" }, "colors": { "description": "Array of vertex colors [r, g, b, a]", "items": { "$ref": "#/properties/items/items/properties/tangents/items" }, "type": "array" }, "ids": { "description": "Mesh identifiers to update", "items": { "type": "string" }, "type": "array" }, "indices": { "description": "Vertex indices defining triangles", "items": { "type": "integer" }, "type": "array" }, "locked": { "default": false, "description": "Editing lock state", "type": "boolean" }, "materialId": { "description": "ID of material applied to this mesh", "type": "string" }, "metadata": { "additionalProperties": {}, "description": "Additional tool-specific metadata", "type": "object" }, "name": { "description": "Display name", "type": "string" }, "normals": { "description": "Array of normal vectors [nx, ny, nz]", "items": { "$ref": "#/properties/items/items/properties/position" }, "type": "array" }, "parentId": { "default": null, "description": "Parent object ID", "type": [ "string", "null" ] }, "position": { "default": [ 0, 0, 0 ], "description": "Position [x, y, z]", "items": { "type": "number" }, "maxItems": 3, "minItems": 3, "type": "array" }, "receiveShadow": { "default": true, "description": "Whether the object receives shadows", "type": "boolean" }, "renderOrder": { "default": 0, "description": "Render sorting order", "type": "integer" }, "rotation": { "default": [ 0, 0, 0, 1 ], "description": "Rotation quaternion [x, y, z, w]", "items": { "type": "number" }, "maxItems": 4, "minItems": 4, "type": "array" }, "scale": { "$ref": "#/properties/items/items/properties/position", "default": [ 1, 1, 1 ], "description": "Scale [x, y, z]" }, "tangents": { "description": "Array of tangent vectors [tx, ty, tz, handedness]", "items": { "description": "VEC4 tensor with 4 components", "items": { "type": "number" }, "maxItems": 4, "minItems": 4, "type": "array" }, "type": "array" }, "uvs": { "description": "Array of UV coordinates [u, v]", "items": { "description": "VEC2 tensor with 2 components", "items": { "type": "number" }, "maxItems": 2, "minItems": 2, "type": "array" }, "type": "array" }, "vertices": { "description": "Array of vertex positions [x, y, z]", "items": { "$ref": "#/properties/items/items/properties/position" }, "type": "array" }, "visible": { "default": true, "description": "Visibility state", "type": "boolean" } }, "required": [ "ids" ], "type": "object" }, "type": "array" } }, "required": [ "items" ], "type": "object" }

You must be authenticated.

Other Tools