-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added getFPS() method to get current fps #33
base: master
Are you sure you want to change the base?
Conversation
In the development of a script to send periodically statistics of performance of three.js examples to a server I needed this functionality
+1 it would also be nice if you could get an average fps over the time it was instantiated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Show ads
Mine #53 |
I found a good alternative for this |
Will confirm this working, but I set as a window.StatsFPS = ...... I was having issues with my scope for a weird project. |
Seeing as this issue has been open for 9+ years, out of necessity for my own work, I've created a fork and added the missing functionality. If this ever gets fixed in the mainline, I'd be happy to retire my fork ;). Enjoy! |
In the development of a script to send periodically statistics of performance of three.js examples to a server I needed this functionality.
I saw this question in StackOverflow (http://stackoverflow.com/questions/5531100) so I though it's maybe helpful for other people.