Forum Discussion
xhonzi
9 years agoHonored Guest
Screen.Width / .Height refers to "main monitor window" instead of Rift display(s)
Is there a way to get Screen. to refer to the Rift display instead of the main monitor display? I do some UI work based on resolution of the monitor, and I need to know what's going on in the Rift to set it correctly.
I don't see any way of getting the resolution of the Rift screen from the current framework.
Also- it seems that input.mousePosition is based on the same Screen, meaning the main monitor. Any way there to use the Rift screen as the basis for "Screen"?
Thanks
I don't see any way of getting the resolution of the Rift screen from the current framework.
Also- it seems that input.mousePosition is based on the same Screen, meaning the main monitor. Any way there to use the Rift screen as the basis for "Screen"?
Thanks
2 Replies
- cyberealityGrand ChampionNot sure about your question, but this belongs in the Development section. Not the General Community discussion. You can reach the Developer section by clicking the down arrow next to the drop-down menu on the top right an choosing Developer. Also it may help to mention what engine you are using, or to post in the appropriate engine section (for example for Unity or Unreal). Thanks.
- xhonziHonored GuestThanks Cyber- I was in the Unity forum when I posted this- but it took me to the login page first. It must have tricked me, and dropped me back off in general after logging me in.
Reopened in Unity forum:
https://forums.oculus.com/developer/discussion/35528/screen-width-height-refers-to-main-monitor-window-instead-of-rift-display-s
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device