简体   繁体   English

ARKit:ARFrame.timestamp代表什么?

[英]ARKit: What does the ARFrame.timestamp represent?

In ARKit, ARFrame.timestamp is a TimeInterval with values such 在ARKit中, ARFrame.timestamp是一个TimeInterval ,其值如下

185726.884258291
185726.91759425
185726.950930291
...

I'd like to get the unix timestamp from these values, but they don't look familiar. 我想从这些值中获取Unix时间戳,但是它们看起来并不熟悉。 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 . 关于将它转换为Unix时间戳的方法和思考

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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