Enumeration

ARView.CameraMode

The available camera modes.

Declaration

enum CameraMode

Topics

Setting the Camera Mode

case ar

Use the device’s camera, managed by the AR session.

case nonAR

Use a virtual camera.

Comparing Modes

static func == (ARView.CameraMode, ARView.CameraMode) -> Bool

Indicates whether two camera modes are equal.

static func != (ARView.CameraMode, ARView.CameraMode) -> Bool

Indicates whether two camera modes are not equal.

func hash(into: inout Hasher)

Hashes the essential components of the camera mode by feeding them into the given hash function.

var hashValue: Int

The hashed value of the camera mode.

See Also

Managing the Camera

var cameraMode: ARView.CameraMode

A setting that chooses between the AR session’s camera and a virtual one.

var cameraTransform: Transform

The transform of the currently active camera.