ARScanView
public struct ARScanView : View
Scanning View which displays a collapsable image to display for anchor detection. The anchor is still detectable when uncollapsed and the View will fade out after detection.
-
Initializer
Declaration
Swift
public init(guideImage: UIImage, anchorPosition: CGPoint?)Parameters
guideImageThe image that is displayed in the View which represents a detectable anchor
anchorPositionThe position of the anchor on screen after detection
-
Initializer
Declaration
Swift
public init(guideImageState: GuideImageState, anchorPosition: CGPoint?)Parameters
guideImageStateThe state of the image that will be displayed in the View which represents a detectable anchor, if the guideImageState is not finished a progressview will display
anchorPositionThe position of the anchor on screen after detection
-
SwiftUI’s view body
Declaration
Swift
public var body: some View { get }