get_viewport_camera
Retrieve the active editor viewport camera's position and rotation as Euler angles in JSON, enabling automation of O3DE editor views.
Instructions
Get the position and rotation of the active editor viewport camera.
Returns JSON with position (3 floats) and rotation (3 Euler
angles in degrees). FOV is not available via the Python bindings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |