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

Customize controls design + autohide function #337

Open
KeySeeDev opened this issue Feb 1, 2019 · 2 comments
Open

Customize controls design + autohide function #337

KeySeeDev opened this issue Feb 1, 2019 · 2 comments

Comments

@KeySeeDev
Copy link

Description:

Hi there! When using VR viewers the back button and the line in the middle never disappears. Is there a way to autohide them? And show again if any touch or mousemove event is detected?
Also i would like to change the image for back button and settings gear.
But i kinda get lost in the code and kind find the exact part to edit.

Additional Information:
  • webvr-polyfill version: 0.10.10
  • Browser name/version/release channel: Chrome WebView / 70 / stable
  • Operating System: Android
@KeySeeDev
Copy link
Author

Hmm so it's drawn using webgl. The rendering of the components appears on
CardboardUI.prototype.onResize call. So i was able to tweak that there.
Gonna find a way to make them fade if untouched for about 10 seconds.
Any ideas?

@nikhilSriva
Copy link

nikhilSriva commented Feb 8, 2023

@StarStep stuck on the same thing. Any leads here?
Or can we add a custom back button in it?

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