Skip to main content
GET
/
camera
get current camera state
curl --request GET \
  --url http://localhost:3917/camera
{
  "eye": [
    8,
    6,
    8
  ],
  "fov_y": 0.785,
  "ortho_size": 10,
  "orthographic": false,
  "target": [
    0,
    0,
    0
  ]
}

Response

200 - application/json

Current camera eye, target, fov_y, orthographic, and ortho_size. Returns an error field when no Camera resource exists (e.g. headless).