两个 SCNNode 之间的 ARKit 线 [英] ARKit line between two SCNNode

查看:28
本文介绍了两个 SCNNode 之间的 ARKit 线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在 SCNNode 与另一个 SCNNode 之间画一条线,并在用户在设备周围移动时保持该线更新"?在我的场景中,我必须使用 ARImageAnchor,我想在这两点之间创建一条线.

it is possible to draw a line from an SCNNode to another and keep the line 'updated' when the user move around the device? In my scenario I have to ARImageAnchor and I would like to create a line between this two points.

推荐答案

我有一个演示在两个节点之间创建线 https://www.youtube.com/watch?v=YDUq7nfvXBc&feature=youtu.be 如果这是你想要的,你可以在下面评论

I have a demo creating line between two node https://www.youtube.com/watch?v=YDUq7nfvXBc&feature=youtu.be if this is what u want u can comment below

这篇关于两个 SCNNode 之间的 ARKit 线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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