Develop
Develop
Select your platform

Get Available Display Frequencies

Updated: Aug 30, 2024
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 Meta Quest 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 headsets support a single display frequency and return a single element array. Meta Quest headsets return a multiple element array of supported display frequencies.
Frequency values are in Hz.

Blueprint

Unreal Blueprint—get available display frequencies

Arguments

  • No arguments.

Output

  • Return Value: An array containing one or more available display frequencies. For Oculus Rift headsets, the output array contains a single element. For the Meta Quest headsets, 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.)
Unreal Blueprints—get display frequencies sample
Did you find this page helpful?
Thumbs up icon
Thumbs down icon