1. A concise explanation of the problem you’re experiencing.
I want to capture the rendered screen that is in focus.
However, this source now only displays the rendered screen, not the focus.
I want to capture the current screen that is in focus.
Please point me how.
viewer.render();
$("#imgSrc").val(viewer.scene.canvas.toDataURL(“image/jpeg”));
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.
version 1.7.1