Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

TicksPerSecond

struct in Unity.IntegerTime

/

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

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

Static Properties

DefaultTicksPerSecondThe default rate is 141120000 ticks per second. This value can represent most frame rates in a lossless way.
TicksPerSecond11988120 Frames per second drop-frame.
TicksPerSecond120120 Frames per second.
TicksPerSecond239724 Frames per second drop-frame.
TicksPerSecond2424 Frames per second.
TicksPerSecond242525 Frames per second drop-frame.
TicksPerSecond2525 Frames per second.
TicksPerSecond299730 Frames per second drop-frame.
TicksPerSecond3030 Frames per second.
TicksPerSecond5050 Frames per second.
TicksPerSecond599460 Frames per second drop-frame.
TicksPerSecond6060 Frames per second.

Properties

DenominatorReturns the denominator.
NumeratorReturns the numerator.
ValidReturns whether the rate is valid. An invalid rate has a 0 denominator.

Constructors

RationalTime.TicksPerSecondConstructor that builds a rational TicksPerSecond. The fraction is immediately reduced.

Public Methods

EqualsReturns whether two values are equal.