Dad72 Posted February 14, 2016 Share Posted February 14, 2016 Hello, I would like to add a BABYLON.Viewport on a div element. and that <div> must draggable. But that's not possible. then I make my container <div> transparent to see the BABYLON.Viewport behind the <div>, and I would like to update the position of BABYLON.Viewport when I move the window that is draggable <div>, but again, I think this is not possible. Would there be the possibility that a function is available to update the x and y position of a BABYLON.Viewport. ex: (what is 'bold' is never updated if the values change dynamically.) new BABYLON.Viewport(this.positionx, this.positiony, 0.21, 0.38); Thank you for your helps NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
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.