jellix Posted January 5, 2017 Share Posted January 5, 2017 Hi folks, I want to change some values on every 'frame' (or 'tick' or 'renderLoop' ... how do you call it correctly?). And I only want to do that in specific cases. So I could put it into the Scene.registerBeforeRender function. There I could implement an if-question to check if the values should be changed or not. In my opinion it doesn't feel very good. Is there a kind of listener to get the event when a frame is rendered like requestAnimatioFrame (from the babylon engine and not form the window or document itself)? 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.