This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Combine | |
func loadEntityAsync() { | |
// Create an world anchor at the origin and add it to the scene | |
let anchor = AnchorEntity(world: [0,0,0]) | |
arView.scene.addAnchor(anchor) | |
let usdzPath = "path/to/usdz/asset" | |
// Load the asset asynchronously |