MLXrAnchorSubsystem
NameSpace: MagicLeapSupport
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
Type | Name | Description |
---|---|---|
ARAnchor | arAnchor |
ulong GetAnchorId
public ulong GetAnchorId(
ARAnchor arAnchor
)
Parameters
Type | Name | Description |
---|---|---|
ARAnchor | arAnchor |
Pose GetAnchorPoseFromID
public Pose GetAnchorPoseFromID(
ulong anchorId
)
Parameters
Type | Name | Description |
---|---|---|
ulong | anchorId |
void RegisterDescriptor
public static void RegisterDescriptor()
Public Enums
AnchorConfidence
Enumerator | Value | Description |
---|---|---|
NotFound | 0 | |
Low | 1 | |
Medium | 2 | |
High | 3 |