Get Camera Bounding Box?

I am porting code over from google earth api and ran into a problem. GE provided a method that return the bounding box that the camera was currently looking at.

ge.getView().getViewportGlobeBounds();

Is there a similar method that works in Cesium for 3d, 2d, and Columbus views?

Thanks,

Hello,

There is currently no good method for doing this, but we have an issue written up here: https://github.com/AnalyticalGraphicsInc/cesium/issues/871

In the issue there are a few proposed workarounds.

Best,

Hannah

Hello,

I just wanted to let you know that added the Camera.computeViewRectangle in Cesium 1.19 to find the camera view bounds.

Best,

Hannah