Gugis Posted January 30, 2014 Share Posted January 30, 2014 Is there any way to import meshes without rendering it? I want to load mesh and push it's data to array so i could use it later. Quote Link to comment Share on other sites More sharing options...
Merfoo Posted January 30, 2014 Share Posted January 30, 2014 You can set the .isVisible member to false, this will cause the engine to not render it.mesh.isVisible = false; Quote Link to comment Share on other sites More sharing options...
Gugis Posted January 31, 2014 Author Share Posted January 31, 2014 You can set the .isVisible member to false, this will cause the engine to not render it.mesh.isVisible = false;Thanks.I have one more question. How to load all meshes with BABYLON.SceneLoader.ImportMesh, just like BABYLON.SceneLoader.Load except reinitializing loaded scene (just importing meshes). Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 31, 2014 Share Posted January 31, 2014 I think (but I'm not sure) that you can load all meshes by setting mesh name = "" in Importmesh funciton Quote Link to comment Share on other sites More sharing options...
Gugis Posted February 4, 2014 Author Share Posted February 4, 2014 I think (but I'm not sure) that you can load all meshes by setting mesh name = "" in Importmesh funcitonYep, it worked. Now i feel really stupid Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 4, 2014 Share Posted February 4, 2014 There is NO stupid question:) 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.