Post

Replies

Boosts

Views

Activity

ShapeResource.generateStaticMesh(from: MeshAnchor) does not exist
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)
0
0
399
Jun ’23
ShapeResource.generateStaticMesh(from: MeshAnchor) does not exist
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)
Replies
0
Boosts
0
Views
399
Activity
Jun ’23