Hi, everybody !
For example one of the possible option to create AnchorEntity for RealityKit is provided below:
let imageAnchor = AnchorEntity(.image(group:"group_name", name:"image_name"))
self.arView.scene.anchors.append(imageAnchor)
But, is it possible to create AnchorEntity, for example, from ARReferenceImage? Something like that:
let referenceImage = ARReferenceImage(self.image.cgImage!, orientation: self.getCGOrientationFromUIImage(self.image), physicalWidth: width)
let imageAnchor = AnchorEntity(.image(referenceImage))
I want to download image from the internet and use it for creating AnchorEntity. Is there any way for solving such problem?