Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

Display Refresh Rate


Extension introduction

Display Refresh Rate is used for dynamically adjusting the display refresh rate in order to improve the overall user experience.


Supported Platform and devices

latform Headset Supported
PC PC Streaming Focus3/ XR Elite X
Pure PC Vive Cosmos X
Vive Pro series X
AIO Focus3/ XR Elite V


Enable Plugins

  1. Edit > Plugins > Search for OpenXR and ViveOpenXR, make sure they are enabled.
  2. Note that the "SteamVR" and "OculusVR" plugin must be disabled for OpenXR to work.
  3. Restart the engine for changes to take effect.


How to use OpenXR Display Refresh Rate Feature

  1. Make sure ViveOpenXR is enabled.
  2. Select Edit > Project Settings > Plugins > Vive OpenXR > Enable Display Refresh Rate under Display Refresh Rate to enable OpenXR Display Refresh Rate extension.
  3. Restart the engine to apply new settings after clicking Enable Display Refresh Rate.
  4. For the available DisplayRefreshRate functions, please refer to ViveOpenXRDisplayRefreshRateFunctionLibrary.h
  5. Type Display Refresh Rate to get the Display Refresh Rate blueprint functions your content needs.
    DisplayRefreshRate_BPFunctions.png

    i. Enumerate Display Refresh Rates
    DisplayRefreshRate_Enumerate.png
    Enumerate the display refresh rates supported by the current session.
    Note: Because Focus3 just supports one available Display Refresh Rate for now, the size of the array Out Enumerate Display Refresh Rates should be one and cannot be changed.

    ii. Get Display Refresh Rate
    DisplayRefreshRate_Get.png
    Retrieve the current display refresh rate.

    iii. Request Display Refresh Rate
    DisplayRefreshRate_Request.png
    Request the system to dynamically change the display refresh rate to the application preferred value.

  6. Receive the change event of the display refresh rate after calling Request Display Refresh Rate successfully.

    Add Actor Component ViveOpenXRNotifications.
    DisplayRefreshRate_ViveOpenXRNotifications.png

    Drag line from the ViveOpenXRNotifications object reference and Assign Display Refresh Rate Changed Delegate to bind delegate for receiving the event when the current Display Refresh Rate is changed from From Display Refresh Rate to To Display Refresh Rate.
    DisplayRefreshRate_AssignEvent.png

    DisplayRefreshRate_BindEvent.png


Play the Sample map

  1. Make sure the OpenXR Display Refresh Rate extension is enabled, the setting is in Edit > Project Settings > Plugins > Vive OpenXR.
  2. The sample map is under Content > DisplayRefreshRate > Map.
  3. Sample map controls.
    Pinch the available Display Refresh Rate which is different from the current one.

    DisplayRefreshRate_Map.png