ARSession.Run Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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