Sets the display frequency for Oculus Quest or Oculus Quest 2.
Oculus headsets support different display refresh rate frequencies. The following devices support the following frequencies:
This Blueprint attempts to set the display frequency to the requested floating point value.
You can use Get Available Display Frequencies to verify whether the desired display frequency is supported by the current device.
In this sample, the refresh rate is set to 72 Hz whenever the controller button is pressed down, and 60 Hz whenever the controller button has been released. In a production application, you should always check the array length before accessing element 1 in the array that is output by Get Available Display Frequencies.