Convert(RationalTime, TicksPerSecond)
Converts a RationalTime from one rate to another. This is lossless unless it triggers an overflow.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.IntegerTime
- Assembly: UnityEngine.CoreModule
public static RationalTime Convert(this RationalTime time, RationalTime.TicksPerSecond rate)
Parameters
Returns
Type | Description |
|---|---|
| RationalTime | A new instance of RationalTime representing as closely as possible the same number of seconds. |