How to set the CesiumSunSky position?
I set the CesiumSunSky’s location and date, and want to position to shanghai, china, but the scene is full of black. What should i do?
Thanks.
How to set the CesiumSunSky position?
I set the CesiumSunSky’s location and date, and want to position to shanghai, china, but the scene is full of black. What should i do?
Thanks.
Hello @yuan1405 ,
Please set the “Timezone” property to the desired timezone and then you should be able to set the “Solar Time” to the hour that you would like. If the timezone is wrong, the time-of-day that is put in “Solar Time” will seem incorrect. Also, you should not directly adjust the location of the CesiumSunSky. Once you go on the CesiumGeoreference and set the SunSky property to the appropriate CesiumSunSky actor, the georeference will automatically control the sun. So in your instance, make sure the CesiumSunSky is connected to the georeference, set the longitude-latitude of the georeference. Then you can set the desired timezone and “solar time” and it should work!