Get current camera view rectangle as a Rectangle or in Degrees

Is there a way to find the rectangle of the current camera view? I'm aware of .position and .positionCartographic, however I need full left/right/top/bottom or top/left/width/height information that I can use to make a rectangle with either Cesium.Rectangle() or Cesium.Rectangle.fromDegrees()

My goal here is to use this information to draw an image onto the map.

layers.addImageryProvider(new Cesium.SingleTileImageryProvider({
     url : url,
     rectangle : Cesium.Rectangle.fromDegrees(x, x, x, x)
}));

Thank you!

To do what you want, you can use SceneTransforms.wgs84ToWindowCoordinates on each of the 4 corner pixels of the screen, but keep in mind that this won’t work if the globe doesn’t touch all 4 corners. If that doesn’t solve your problem, and depending on your use case, there may be better ways to accomplish whatever feature you are trying to implement.