explicit operator double(MediaTime)
Returns the time value expressed as a floating point number of seconds.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Operator
- Namespace: UnityEditor.Media
- Assembly: UnityEditor
explicit operator double(Doubl)
public static explicit operator double(MediaTime t)
Parameters
Time to convert.
Returns
Type | Description |
|---|---|
| double |
Remarks
A loss of precision may result when performing the conversion. Converting invalid time values (see isValid) returns 0.