explicit operator DiscreteTime(RationalTime)
Converts a RationalTime to DiscreteTime representation. If the rate denominator is 1 and the DiscreteTime.TicksPerSecond is a multiple of the numerator, this conversion is lossless.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Operator
- Namespace: Unity.IntegerTime
- Assembly: UnityEngine.CoreModule
explicit operator DiscreteTime(DiscreteTim)
public static explicit operator DiscreteTime(RationalTime t)
Parameters
The RationalTime parameter.
Returns
Type | Description |
|---|---|
| DiscreteTime |