royibernthal Posted June 29, 2017 Share Posted June 29, 2017 I'm creating an AdvancedDynamicTexture for a Plane and adding to it a button. The Enter and Out callbacks are not called. http://www.babylonjs-playground.com/#ZI9AK7#19 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 29, 2017 Share Posted June 29, 2017 From the doc: "Texture mode: In this mode, BABYLON.GUI will be used as a texture for a given mesh. Only pointer down and up events will be intercepted" Quote Link to comment Share on other sites More sharing options...
royibernthal Posted June 29, 2017 Author Share Posted June 29, 2017 Hmm I missed it, any reason why Enter and Out can't be intercepted? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 29, 2017 Share Posted June 29, 2017 Because of performance. When in mesh mode, I need to cast a ray on every frame and if the mesh is complex this can slow things down a lot But I plan to add it under a boolean soon Quote Link to comment Share on other sites More sharing options...
royibernthal Posted June 29, 2017 Author Share Posted June 29, 2017 Got it, okay good I really need that functionality. When it's ready - would enabling it for say 20 mesh instances hurt performance noticeably on mobile in your opinion or possibly not at all? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 29, 2017 Share Posted June 29, 2017 Clearly depends on the meshes: on planes: certainly no Quote Link to comment Share on other sites More sharing options...
royibernthal Posted June 30, 2017 Author Share Posted June 30, 2017 Yup planes, ok good to hear Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 20, 2017 Share Posted July 20, 2017 This is DONE royibernthal 1 Quote Link to comment Share on other sites More sharing options...
royibernthal Posted September 5, 2017 Author Share Posted September 5, 2017 Just saw this, thanks 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.