interface IARSharedAnchor (Niantic.ARDK.AR.Networking.NetworkAnchors.IARSharedAnchor)

Overview

Shared anchors are the same as base AR anchors, except they are persistent and shareable, meaning they can be discovered in AR sessions other than the session they are created in. See IARNetworking.CreateSharedAnchor(transform, identifier) for how to create and add them to sessions. More…

interface IARSharedAnchor: Niantic.ARDK.AR.Anchors.IARAnchor {
    // properties

    bool IsShared;
    SharedAnchorIdentifier SharedAnchorIdentifier;
    SharedAnchorTrackingState TrackingState;
};

Inherited Members

public:
    // properties

    AnchorType AnchorType;
    Guid Identifier;
    Matrix4x4 Transform;

Detailed Documentation

Shared anchors are the same as base AR anchors, except they are persistent and shareable, meaning they can be discovered in AR sessions other than the session they are created in. See IARNetworking.CreateSharedAnchor(transform, identifier) for how to create and add them to sessions.

Note

This is currently in internal development, and not useable.

Properties

bool IsShared

True if this anchor is available on the cloud.

SharedAnchorIdentifier SharedAnchorIdentifier

Unique identifier for this shared anchor. If this anchor is uploaded to the cloud, it will have the same identifier across all sessions it is discovered in.

SharedAnchorTrackingState TrackingState

Current tracking resolution of the anchor. This anchor’s Transform value is not valid until its TrackingState is TrackingState.Tracking.