I create a camera and set its transform using Xformable. I look at the properties of the camera and they are exactly what I set them as. Then I set my viewport to that camera. The properties I set are changed. Its almost like its calculating different decompositions. Why is that?
Also changing a cameras position with the gizmo, then using viewport.set_active_camera and viewport.set_camera_target resets the position of the camera from before the gizmo change.