FromDouble(double, TicksPerSecond)
Converts a floating point number into a RationalTime with an explicit rate.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.IntegerTime
- Assembly: UnityEngine.CoreModule
public static RationalTime FromDouble(double t, RationalTime.TicksPerSecond ticksPerSecond)
Parameters
The duration in seconds.
The rational number representing the number of ticks per second.
Returns
Type | Description |
|---|---|
| RationalTime |