Is there a way to find if the Terrain Data as finished loading or get a percentage that indicates the progress of the streaming of terrain.
The issue I'm facing is that I need to position 3D models on the ground, and move around according to user input, and while the Terrain Data is loading the Height values are all over the place. If I could find if the terrain was still loading I could delay positioning the models and prevent user input.
That said, you can inspect the internals and examine the length of the tile load queue, which is an array. If the load queue is empty, then all data is loaded for the current camera view.
scene.globe._surface._tileLoadQueue
Note that this is implementation detail, and therefore subject to change at any point in the future, with no warning.