Version: 2023.2

TicksPerSecond

struct in Unity.IntegerTime

切换到手册

描述

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

静态变量

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.

变量

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

构造函数

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

公共函数

EqualsReturns whether two values are equal.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961