Skip to content
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

FPS counter in AR immersive #129

Open
sophie1000 opened this issue Sep 3, 2021 · 1 comment
Open

FPS counter in AR immersive #129

sophie1000 opened this issue Sep 3, 2021 · 1 comment

Comments

@sophie1000
Copy link

Hi,
I would like to customize the appearance of the FPS counter, but i can't find from where it does come from in the code.
Anyone knows ?
Thank you

@bialpio
Copy link
Contributor

bialpio commented Sep 3, 2021

I believe it is StatsViewer, which lives in stats-viewer.js file. Looks like it's added automatically to a Scene and then the samples that don't need it disable it explicitly via scene.enableStats(false).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants