cesium-procedural-foliage
cesium-procedural-foliage copied to clipboard
Missing or moved members in Cesium for Unreal Plugin
This is an old repo and I don't expect it to change. I wanted to leave a note here for anyone who might be trying this with the newest unreal engine (5+) and cesium for unreal plugin.
You will find that the transform member functions no longer exist in the CesiumGeoreference object. They appear to have been moved to a Geotransforms object. This is to include the TransformLongitudeLatitudeHeightToUe() member.
I have yet to determine if the reference to the ACesiumGeoreference in the FoliageCaptureActor can just be replaced with a reference to AGeotransforms object.
I have also yet to determine what replaces InaccurateComputeEastNorthUpToUnreal(). Unless someone else responds with an answer, I'll try to remember to post if I find an answer.
Addendum to the comments. No, you cannot just replace Georeference with an instance of Geotransforms. The apparent renamed members in Geotransforms also take a different number of parameters.
I have it compiling with the new Unreal 5.3.2 and the newest Cesium for Unreal Plugin (5.3.0).
The short answer is you need to add a few #includes now and a number of transform functions have changed names BUT still exist in GeoReference.
I have only gotten it to build and haven't tried it out yet, though given it is just some includes and member function name changes, I have high expectation it should work.
hey can you list the includes you used thx