Forum Discussion
stupidn00b
10 years agoExplorer
Reading refresh rate of connected HMD
Is it currently possible to get the refresh rate of the connected HMD? For Gear VR versus PC, we would just detect platform, we need to be able to set our fixed timestep to match framerate separately ...
vrdaveb
10 years agoOculus Staff
Right now, the only supported way would be to DllImport ovr_GetFloat from LibOVRRT*.dll and do something like this:
We will probably add this to OVRManager before too long.
1f / ovr_GetFloat(UnityEngine.VR.VRDevice.GetNativePtr(), "VsyncToNextVsync", 90f);
We will probably add this to OVRManager before too long.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago