AnnaBruel Posted February 20, 2018 Share Posted February 20, 2018 Hey, I would like to know where is stored advancedDynamicTexture in babylon environnment. For example, all the meshes are stored in the scene at the "meshes" property. I want to play with the Babylon gui ;). Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted February 20, 2018 Share Posted February 20, 2018 Hi @AnnaBruel It is stored in the variable you create for it. E.g. advancedTexture; var advancedTexture = BABYLON.GUI.AdvancedDynamicTexture... If you want it to be scene.something you can also do; scene.myGuiVariable = BABYLON.GUI.AdvancedDynamicTexture... Wingnut 1 Quote Link to comment Share on other sites More sharing options...
AnnaBruel Posted February 20, 2018 Author Share Posted February 20, 2018 I don't think create a new variable. Thanks for all Quote Link to comment Share on other sites More sharing options...
Wingnut Posted February 20, 2018 Share Posted February 20, 2018 AdvancedDynamicTextures (ADT) have a cool .level property, too, just like ALL textures. It is like a brightness knob. Default is 1.0. Lots of people forget it exists. Great for fade-in and fade-out GUI. GameMonetize 1 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.