In Cesium JS I can add a resource object to the “TerrainProvider” object and specify headers and query params
In Unity, the URL of TerrianObject accepts only a string, how can I specify header or query params?
Can someone please provide me with an example?
Thanks!
Thanks for the question @asaf.masa. I’ve got bad news and good news. The bad news is that we don’t currently have this feature in Cesium for Unity. The good news is that we’ve just added support for it to Cesium Native and integrated it into Unreal, so it wouldn’t be too much work to add it to Cesium for Unity as well! We would welcome a pull request to implement this, if you were willing. You can take a look at the Unreal implementation to get an idea of the steps required to do the same in Unity.