# RationalTime.TicksPerSecond

> The number of ticks per second ( rate ) of the discrete time, expressed as a rational number.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.IntegerTime](/engine/6000.6/script-reference/unity/integertime.md)
* **Assembly:** UnityEngine.CoreModule
* **Implements:** [IEquatable\<TicksPerSecond>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct RationalTime.TicksPerSecond : IEquatable<RationalTime.TicksPerSecond>
```

## Static Fields

| Value                                                                                                                           | Description                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [DefaultTicksPerSecond](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/defaulttickspersecond.md) | The default rate is 141120000 ticks per second. This value can represent most frame rates in a lossless way. |
| [TicksPerSecond11988](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond11988.md)     | 120 Frames per second drop-frame.                                                                            |
| [TicksPerSecond120](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond120.md)         | 120 Frames per second.                                                                                       |
| [TicksPerSecond2397](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond2397.md)       | 24 Frames per second drop-frame.                                                                             |
| [TicksPerSecond24](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond24.md)           | 24 Frames per second.                                                                                        |
| [TicksPerSecond2425](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond2425.md)       | 25 Frames per second drop-frame.                                                                             |
| [TicksPerSecond25](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond25.md)           | 25 Frames per second.                                                                                        |
| [TicksPerSecond2997](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond2997.md)       | 30 Frames per second drop-frame.                                                                             |
| [TicksPerSecond30](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond30.md)           | 30 Frames per second.                                                                                        |
| [TicksPerSecond50](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond50.md)           | 50 Frames per second.                                                                                        |
| [TicksPerSecond5994](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond5994.md)       | 60 Frames per second drop-frame.                                                                             |
| [TicksPerSecond60](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/tickspersecond60.md)           | 60 Frames per second.                                                                                        |

## Constructors

| Constructor                                                                                                                          | Description                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
| [TicksPerSecond(System.UInt32,System.UInt32)](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/ctor.md) | Constructor that builds a rational TicksPerSecond. The fraction is immediately reduced. |

## Properties

| Property                                                                                                    | Description                                                             |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [Denominator](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/denominator.md) | Returns the denominator.                                                |
| [Numerator](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/numerator.md)     | Returns the numerator.                                                  |
| [Valid](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/valid.md)             | Returns whether the rate is valid. An invalid rate has a 0 denominator. |

## Methods

| Method                                                                                            | Description                           |
| ------------------------------------------------------------------------------------------------- | ------------------------------------- |
| [Equals](/engine/6000.6/script-reference/unity/integertime/rationaltime/tickspersecond/equals.md) | Returns whether two values are equal. |
