Version: 2023.1
public static Unity.IntegerTime.RationalTime FromDouble (double t, Unity.IntegerTime.RationalTime.TicksPerSecond ticksPerSecond);

参数

t 持续时间(以秒为单位)。
ticksPerSecond The rational number representing the number of ticks per second.

描述

Converts a floating point number into a RationalTime with an explicit rate.