I agree with @PatrickRyan, that this is a tool in Blender, to change the rotation of editor view. This might be something useful for the playground / sandbox, though.
As a demo project it is fine, as part of the repo, there are a few things:
- It only rotates. No position changing. Neither does the Blender equivalent, but there is Shift-middle mouse button dragging there.
- It only works for Archrotate cameras.
I had built a tool that is just a mesh that sort of looks like a camera, which can be dragged, has a gizmo to rotate, and has buttons one of which is to write the current rotation / position to console (Snap).
It worked well for getting positions / rotations of a camera to be displayed as a render target while actually show the live scene. It was a nightmare before making this. Too bad I had to dump the idea due to WebXR not handling render targets.
If multi camera types & position being handled, it could be very useful.