babbleon Posted August 21, 2018 Share Posted August 21, 2018 Hello, Is there some way of checking if a mesh was built with BABYLON.MeshBuilder.CreateLines like say... scene.meshes[1].isLines() ? Thank you, Quote Link to comment Share on other sites More sharing options...
babbleon Posted August 21, 2018 Author Share Posted August 21, 2018 Sorted: var lines = BABYLON.MeshBuilder.CreateLines("lines", {points: myPoints}, scene); BABYLON.Tags.EnableFor(lines); lines.addTags("lines") then: scene.getMeshesByTags('lines') 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.