LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

XRDevice.refreshRate

public static float refreshRate;

Description

Refresh rate of the display in Hertz.

This property may return zero if the current XR SDK does not report refresh rate information.