Skip to main content
Version: 14 Oct 2024

MLXrAnchorSubsystem

NameSpace: Subsystems

The Magic Leap implementation of the XRAnchorSubsystem . Do not create this directly. Use XRAnchorSubsystemDescriptor.Create() instead.

Inherits from:
XRAnchorSubsystem

Public Methods

AnchorConfidence GetAnchorConfidence

public AnchorConfidence GetAnchorConfidence(
ARAnchor arAnchor
)

Parameters

TypeNameDescription
ARAnchorarAnchor

ulong GetAnchorId

public ulong GetAnchorId(
ARAnchor arAnchor
)

Parameters

TypeNameDescription
ARAnchorarAnchor

string GetAnchorMapPositionId

public string GetAnchorMapPositionId(
ARAnchor arAnchor
)

Parameters

TypeNameDescription
ARAnchorarAnchor

Pose GetAnchorPose

public Pose GetAnchorPose(
ARAnchor arAnchor
)

Parameters

TypeNameDescription
ARAnchorarAnchor

Pose GetAnchorPoseFromID

public Pose GetAnchorPoseFromID(
ulong anchorId
)

Parameters

TypeNameDescription
ulonganchorId

Pose GetAnchorPoseFromId

public Pose GetAnchorPoseFromId(
ulong anchorId
)

Parameters

TypeNameDescription
ulonganchorId

TrackableId GetTrackableIdFromMapPositionId

public TrackableId GetTrackableIdFromMapPositionId(
string mapPositionId
)

Parameters

TypeNameDescription
stringmapPositionId

bool IsStoredAnchor

public bool IsStoredAnchor(
ARAnchor arAnchor
)

Parameters

TypeNameDescription
ARAnchorarAnchor

void RegisterDescriptor

public static void RegisterDescriptor()

Public Enums

AnchorConfidence

EnumeratorValueDescription
NotFound0
Low1
Medium2
High3