我可以保存 ar 数据以供重复使用吗? [英] Can I save ar data for reuse?

查看:27
本文介绍了我可以保存 ar 数据以供重复使用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标是将一个对象放置在房间内的arcore平面上,然后将平面和对象的数据保存在文件中.应用退出并重新启动后,可以从文件中加载已保存的对象,然后可以像上次一样显示在同一位置.

My goal is to place a object on a arcore plane in a room, then I save the plane and object's data in file. After app exit and start again, the object had been saved can be loaded from file, then it can be displayed at the same position just like last time.

推荐答案

为了持久化虚拟对象,我们可能可以使用 VPS (视觉定位服务,尚未发布)以定位带有房间的设备.

To persist virtual objects, we probably can use VPS (visual positioning service, not released yet) to localize the device with an room.

然而,在 ARCore 的开发者预览版中没有实现这一点的 API.

However there's no API to achieve this in the developer preview version of ARCore.

这篇关于我可以保存 ar 数据以供重复使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆