Post not yet marked as solved
Post marked as unsolved with 0 replies, 219 views
I'm trying to follow the WWDC23 example presented in Meet ARKit for spatial computing. and when implementing this method:
func processReconstructionUpdates() async {
for await update in sceneReconstruction.anchorUpdates {
let meshAnchor = update.anchor
guard let shape = try? await ShapeResource.generateStaticMesh(from: meshAnchor) else { continue }
switch update.event {
…
ShapeResource.generateStaticMesh(from: MeshAnchor) doesn't seem to exist. It would only accept ShapeResourcegenerateStaticMesh(positions: [SIMD3<Float>], faceIndices: [UInt16]).
I'm using Version 15.0 beta 2 (15A5161b)