AnnaBruel Posted February 27, 2018 Share Posted February 27, 2018 How to color line ? I tried to use the option colors of CreateLines, but it doesn't seem to work. Maybe, I forgot something https://www.babylonjs-playground.com/#165IV6#228 Quote Link to comment Share on other sites More sharing options...
SinhNQ Posted February 27, 2018 Share Posted February 27, 2018 The param colors must is an Array. https://www.babylonjs-playground.com/#165IV6#229 GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
JohnK Posted February 27, 2018 Share Posted February 27, 2018 Alternatively set the color property https://www.babylonjs-playground.com/#165IV6#230 GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
AnnaBruel Posted March 2, 2018 Author Share Posted March 2, 2018 Thanks you very much. The easiest solution is one of John K, but with th SinhNQ solution, we can make some effects : https://www.babylonjs-playground.com/#165IV6#232 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.