Dad72 Posted October 12, 2014 Share Posted October 12, 2014 Hi, In the wiki, it says: If you want to disable the loading screen, you have to set "assetsManager.useDefaultLoadingScreen" to false. but useDefaultLoadingScreen does not exist in Babylon. So I do not manage to disable loadingScreen that it automatically loads in BABYLON.SceneLoader.Load Is a bug, or the function was rename? Quote Link to comment Share on other sites More sharing options...
davrous Posted October 12, 2014 Share Posted October 12, 2014 Hi, It's available once you've instantiated it: var am = new BABYLON.AssetsManager(scene); am.useDefaultLoadingScreen = false; Are you using the last version of Babylon.js ? Bye, David Quote Link to comment Share on other sites More sharing options...
Dad72 Posted October 12, 2014 Author Share Posted October 12, 2014 Yes I use the latest version and I instantiate fine, but when I searched I can not find in the file "useDefaultLoadingScreen" and when I test it does not work. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 12, 2014 Share Posted October 12, 2014 useDefaultLoadingScreen is for AssetsManager You are talking about SceneLoader. For this object please use: BABYLON.SceneLoader.ShowLoadingScreen = false Quote Link to comment Share on other sites More sharing options...
Dad72 Posted October 12, 2014 Author Share Posted October 12, 2014 Ah, ok, I thought it was the same as used loader scene. It works now. Thank you DK Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.