I’m working on packaging a project where users can log in to their own Cesium ion accounts or provide an access token at runtime. Additionally, I want users to be able to add polygons, Google Terrain, Google Tiles, and other related layers dynamically.
Is there a tutorial or guide available that covers this kind of functionality?
Hi @huzaifacg,
That sounds like a cool use case! Unfortunately we don’t have any tutorials that cover this, but you could potentially implement this by modifying the source code of Cesium for Unreal.
Since it sounds like you’d want to duplicate the functionality that Cesium for Unreal provides in the editor, I’d suggest checking out the Editor source code first:
This demonstrates how we manage Cesium ion sessions in the background and how it hooks into the Editor UI. I imagine you’d have to port some of this to the CesiumRuntime
library and hook it up to an in-game UI.
I hope this helps – and feel free to ask any questions you have along the way!