design_set_camera
Sets the scene camera position, look-at target, and field of view, creating a perspective camera layer when none exists. Use to control viewpoint in generative art scenes.
Instructions
Set the scene camera position, target, and field of view. Creates a perspective:camera layer if none exists. Position and target are in world units (1 unit = 1 meter). +X = right, +Y = up, +Z = into the scene.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fov | No | Vertical FOV in degrees, 5–120 (default: 60). | |
| targetX | No | Look-at target X (default: 0). | |
| targetY | No | Look-at target Y (default: 0.5). | |
| targetZ | No | Look-at target Z (default: 100). | |
| positionX | No | Camera X position (default: 0). | |
| positionY | No | Camera Y position / eye height (default: 1.7). | |
| positionZ | No | Camera Z position (default: 0). | |
| projection | No | Projection type (default: perspective). |