AllForum Posted September 16, 2014 Share Posted September 16, 2014 Hello, I would like to be able to iterate on the tags. My javascript is too bad to know if it is possible.As tags are a string in a babylon file I tried a toString()... To parse the string after... But it does not work...If the solution is plug&play then I am interested in.If not then don't waste time : it is not important.Thanks. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted September 16, 2014 Share Posted September 16, 2014 See here: https://github.com/BabylonJS/Babylon.js/wiki/Tags Quote Link to comment Share on other sites More sharing options...
AllForum Posted September 17, 2014 Author Share Posted September 17, 2014 I know this page ; I am using tags. I think that what I want to do is not a "normal" use of tags : I would like to pick a mesh and hide all objects with the same tag t as the picked mesh.That is why I would like to parse the tags (ie loop on the list of tags) of the picked mesh to extract one tag t if it exists and then use t in a classical way. NB : It is to see what user data can do. It is for a test ; tags seems not the good way to do that. 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.