Version: 2021.2
LanguageEnglish
  • C#

RefreshRate

struct in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Represents the display refresh rate. This is how many frames the display can show per second.

Display refresh rate is always a rational number which is expressed as a fraction that contains a numerator and a denominator. For example, a 59.94 Hz display might have a numerator of 60000 and a denominator of 1001.

Properties

denominatorDenominator of the refresh rate fraction.
numeratorNumerator of the refresh rate fraction.
valueThe numerical value of the refresh rate in hertz.