# RefreshRate

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

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule
* **Implements:** [IEquatable\<RefreshRate>](https://learn.microsoft.com/dotnet/api/system.iequatable-1), [IComparable\<RefreshRate>](https://learn.microsoft.com/dotnet/api/system.icomparable-1)

```csharp
public struct RefreshRate : IEquatable<RefreshRate>, IComparable<RefreshRate>
```

## Remarks

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.

## Fields

| Value                                                                                 | Description                               |
| ------------------------------------------------------------------------------------- | ----------------------------------------- |
| [denominator](/engine/6000.7/script-reference/unityengine/refreshrate/denominator.md) | Denominator of the refresh rate fraction. |
| [numerator](/engine/6000.7/script-reference/unityengine/refreshrate/numerator.md)     | Numerator of the refresh rate fraction.   |

## Properties

| Property                                                                  | Description                                       |
| ------------------------------------------------------------------------- | ------------------------------------------------- |
| [value](/engine/6000.7/script-reference/unityengine/refreshrate/value.md) | The numerical value of the refresh rate in hertz. |

## Methods

| Method                                                                                | Description                                  |
| ------------------------------------------------------------------------------------- | -------------------------------------------- |
| [Equals](/engine/6000.7/script-reference/unityengine/refreshrate/equals.md)           | Returns true if the refresh rates are equal. |
| [GetHashCode](/engine/6000.7/script-reference/unityengine/refreshrate/gethashcode.md) | Returns the hash code for this refresh rate. |

## Operators

| Operator                                                                                | Description                                    |
| --------------------------------------------------------------------------------------- | ---------------------------------------------- |
| [operator ==](/engine/6000.7/script-reference/unityengine/refreshrate/op-equality.md)   | Returns true if two refresh rates are equal.   |
| [operator !=](/engine/6000.7/script-reference/unityengine/refreshrate/op-inequality.md) | Returns true if two refresh rates are unequal. |
