enum ARSessionRunOptions (Niantic.ARDK.AR.ARSessionRunOptions)

Overview

Options for transitioning an AR session’s current state when you change its configuration. More…

enum ARSessionRunOptions {
    None                  = 0,
    ResetTracking         = 1,
    RemoveExistingAnchors = 2,
    RemoveExistingMesh    = 4,
};

Detailed Documentation

Options for transitioning an AR session’s current state when you change its configuration.

Enum Values

None

No additional behaviour will occur when the configuration is changed.

Note

Used to set the flag programmatically, select “Nothing” in the Unity Editor

ResetTracking

The session does not continue tracking from the previous configuration.

Note

This is an iOS-only value.

RemoveExistingAnchors

Any anchor objects created previously are removed.

RemoveExistingMesh

Meshing is reset.