Get Available Display Frequencies

Returns the display frequencies that are available with the current headset.

Overview

This blueprint returns an array of the display frequencies supported by the current Oculus device. You should use this blueprint to discover the supported display frequencies of the current device before attempting to set a different display frequency.

Oculus Rift and Oculus Rift S support a single display frequency and return a single element array. Other devices return a multiple element array of supported display frequencies.

Frequency values are in Hz.

Blueprint

Arguments

  • No arguments.

Output

  • Return Value: An array containing one or more available display frequencies. For Oculus Rift and Oculus Rift S, the output array contains a single element. For the Oculus Quest, and Oculus Quest 2, the output array contains multiple elements, corresponding to the display frequencies supported by the device.

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, the array length should be checked before accessing element 1 in the array.)