Set Display Frequency

Sets the display frequency for Oculus Quest or Oculus Quest 2.

Overview

Oculus headsets support different display refresh rate frequencies. The following devices support the following frequencies:

  • Oculus Rift is always set to 90 Hz
  • Rift S is always set to 80 Hz
  • Oculus Quest supports 60 Hz and 72 Hz
  • Oculus Quest 2 support 60 Hz, 72 Hz, 80 Hz, and 90 Hz

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.

Blueprint

Arguments

  • Requested Frequency: A floating point value that indicates the desired display frequency. Allowable values depend on the device the app is running on.

Output

  • No output.

Sample

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.