interface ILocalizableARSession (Niantic.ARDK.AR.ILocalizableARSession)

Overview

interface ILocalizableARSession: Niantic.ARDK.AR.IARSession {
    // properties

    ILocalizer Localizer;
};

Inherited Members

public:
    // properties

    IARConfiguration Configuration;
    IARFrame CurrentFrame;
    ARFrameDisposalPolicy DefaultFrameDisposalPolicy;
    IARMesh Mesh;
    RuntimeEnvironment RuntimeEnvironment;
    Guid StageIdentifier;
    ARSessionState State;
    float WorldScale;

    // events

    event AnchorsAdded();
    event AnchorsMerged();
    event AnchorsRemoved();
    event AnchorsUpdated();
    event CameraTrackingStateChanged();
    event Deinitialized();
    event FrameUpdated();
    event MapsAdded();
    event MapsUpdated();
    event Paused();
    event QueryingShouldSessionAttemptRelocalization();
    event Ran();
    event SessionFailed();
    event SessionInterrupted();
    event SessionInterruptionEnded();

    // methods

    IARAnchor AddAnchor(Matrix4x4 transform);

    AwarenessInitializationStatus GetAwarenessInitializationStatus(
        out AwarenessInitializationError error,
        out string errorMessage
    );

    void Pause();
    void RemoveAnchor(IARAnchor anchor);

    void Run(
        IARConfiguration configuration,
        ARSessionRunOptions options = ARSessionRunOptions.None
    );

    void SetupLocationService(ILocationService locationService);

Detailed Documentation

Note

This is an experimental feature, and may be changed or removed in a future release. This feature is currently not functional or supported.

Properties

ILocalizer Localizer

Note

This is an experimental feature, and may be changed or removed in a future release. This feature is currently not functional or supported.