How do I hide the loading screen in Babylon? I currently don’t want to display a loading screen during my import of my mesh.
My guess is that you just need to call hideLoadingUI right after the call where you load your mesh, but that might depend on how exactly your scene is working. Give it a shot; but if that doesn’t work for you, can you post a Playground showing your use case? Thanks!
Looking at the code I see
BABYLON.SceneLoaderFlags.ShowLoadingScreen = False;
Setting this before calling
SceneLoader.Append, or the other suggestion should work.
This is close, but Babylon couldn’t find SceneLoaderFlags, so it threw an error. What I did instead was
BABYLON.SceneLoader.ShowLoadingScreen = false; right before importing my mesh.