init(frame:cameraMode:)
Creates an AR view with the specified dimensions and camera mode.
Declaration
@MainActor @preconcurrency convenience init(frame frameRect: CGRect, cameraMode: ARView.CameraMode)Parameters
- frameRect:
The frame rectangle for the view, measured in points.
- cameraMode:
An indication of whether to use the device’s camera or a virtual one.