Swing Key Light Right
swing_key_light_rightRotates the key light in a rightward arc around the model center, enabling precise lighting adjustments for 3D scenes.
Instructions
Rotate the key light rightward in an arc around the center of the model
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:747-768 (registration)Registration and handler for the swing_key_light_right tool. Registers with MCP server, sends 'swingKeyLightRight' command to browser session, and returns success text.
mcpServer.registerTool( 'swing_key_light_right', { title: 'Swing Key Light Right', description: 'Rotate the key light rightward in an arc around the center of the model', inputSchema: {} }, async () => { routeToCurrentSession({ type: 'swingKeyLightRight' }); return { content: [ { type: 'text', text: 'Key light swung right' } ] }; } ); - server.js:754-767 (handler)Handler function for swing_key_light_right. Routes a 'swingKeyLightRight' command to the current browser session via WebSocket.
async () => { routeToCurrentSession({ type: 'swingKeyLightRight' }); return { content: [ { type: 'text', text: 'Key light swung right' } ] }; } - server.js:749-753 (schema)Schema/definition for swing_key_light_right: no input parameters, title 'Swing Key Light Right'.
{ title: 'Swing Key Light Right', description: 'Rotate the key light rightward in an arc around the center of the model', inputSchema: {} },