Can globe be shifted to left or right of center?

1. A concise explanation of the problem you're experiencing.

Is it possible to shift the globe to the left or right of center?

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.

I would like to display the starfield below a transparent navigation sidebar, and shift-right the globe a distance equal to the width of the sidebar.

4. The Cesium version you're using, your operating system and browser.

Cesium 1.55

I think the easiest way might be to simply scale the canvas itself, assuming your sidebar is an HTML element?

Otherwise, this Camera Sandcastle shows you how to programmatically move the camera, so you can move it to the left/right that way too:

https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Camera%20Tutorial.html

在 2019年4月6日星期六 UTC+8上午12:40:53,edhi...@gmail.com写道: