Bewerken

Delen via


ARSession.Run Method

Definition

Overloads

Run(ARConfiguration)
Run(ARConfiguration, ARSessionRunOptions)

Begins an AR processing session.

Run(ARConfiguration)

[Foundation.Export("runWithConfiguration:")]
public virtual void Run (ARKit.ARConfiguration configuration);
abstract member Run : ARKit.ARConfiguration -> unit
override this.Run : ARKit.ARConfiguration -> unit

Parameters

configuration
ARConfiguration
Attributes

Applies to

Run(ARConfiguration, ARSessionRunOptions)

Begins an AR processing session.

[Foundation.Export("runWithConfiguration:options:")]
public virtual void Run (ARKit.ARConfiguration configuration, ARKit.ARSessionRunOptions options);
abstract member Run : ARKit.ARConfiguration * ARKit.ARSessionRunOptions -> unit
override this.Run : ARKit.ARConfiguration * ARKit.ARSessionRunOptions -> unit

Parameters

configuration
ARConfiguration

World alignment, light estimation, and audio configuration information.

options
ARSessionRunOptions

Whether existing anchors are kept, and whether position and motion tracking is continued from a previous session.

Attributes

Applies to