Initializer

init(frame:)

Creates an AR view with the specified dimensions.

Declaration

iOS, Mac Catalyst
@objc override required dynamic init(frame frameRect: CGRect)
macOS
@objc override required dynamic init(frame frameRect: NSRect)

Parameters

frameRect

The frame rectangle for the view, measured in points.

See Also

Creating a View

init(frame: CGRect, cameraMode: ARView.CameraMode, automaticallyConfigureSession: Bool)

Creates an AR view with the specified dimensions, camera mode, and session configuration state.

init?(coder: NSCoder)

Creates an AR view initialized from data in a given decoder.

typealias ARViewBase

The platform-specific base class for the view into which RealityKit renders content.

init(frame: CGRect, cameraMode: ARView.CameraMode)

Creates an AR view with the specified dimensions and camera mode.

Deprecated