Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Swift 如何在ARKit';重建的网格是什么?_Swift_Augmented Reality_Arkit_Realitykit_Lidar - Fatal编程技术网

Swift 如何在ARKit';重建的网格是什么?

Swift 如何在ARKit';重建的网格是什么?,swift,augmented-reality,arkit,realitykit,lidar,Swift,Augmented Reality,Arkit,Realitykit,Lidar,最近,我做了一个激光雷达扫描项目。 这很难。我需要处理顶点数据。 所以我试着用这个密码 guard let meshAnchors = arView.session.currentFrame?.anchors.compactMap { $0 as? ARMeshAnchor } else { return } meshAnchors.first?.geometry.vertices // I want to get vertex position 没有顶点的位置,只有缓冲区数据 我该怎么做

最近,我做了一个激光雷达扫描项目。 这很难。我需要处理顶点数据。 所以我试着用这个密码

guard let meshAnchors = arView.session.currentFrame?.anchors.compactMap { $0 as? ARMeshAnchor } 
else { return }

meshAnchors.first?.geometry.vertices // I want to get vertex position
没有顶点的位置,只有缓冲区数据

我该怎么做?是否从缓冲区数据更改为数组? 请帮帮我