简体   繁体   中英

ARKit: What does the ARFrame.timestamp represent?

In ARKit, ARFrame.timestamp is a TimeInterval with values such

185726.884258291
185726.91759425
185726.950930291
...

I'd like to get the unix timestamp from these values, but they don't look familiar. What do these numbers represent?

These numbers represent uptime at the moment the frame has been captured, see it yourself by calling

NSTimeInterval systemUptime = [[NSProcessInfo processInfo] systemUptime]; 

Methods and thoughts about converting it to a Unix Timestamp .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM