OpenXRMlMarkerDetector

Experimental: Marked as experimental due to lack of community validation on Magic Leap devices.

Inherits: Node

Represents a marker detector in Magic Leap's Marker Understanding API.

Description

Represents a marker detector in Magic Leap's Marker Understanding API.

A marker detector detects a single type of marker, specified by the settings property. To detect more than one marker type, an application may create multiple marker detectors.

The marker detector is only active when added to the scene tree.

Properties

OpenXRMlMarkerDetectorSettings

settings

Methods

OpenXRMlMarkerTracker[]

get_marker_trackers ( ) const

Status

get_status ( ) const


Enumerations

enum Status:

Status STATUS_PENDING = 0

The marker detector is working on a new snapshot.

Status STATUS_READY = 1

The marker detector is ready to be inspected.

Status STATUS_ERROR = 2

The marker detector has encountered a fatal error.

Status STATUS_MAX = 3

Maximum value for the status enum.


Property Descriptions

OpenXRMlMarkerDetectorSettings settings

The settings of the marker detector.

Changing this value or any of the properties of the detector settings will restart the marker detector.


Method Descriptions

OpenXRMlMarkerTracker[] get_marker_trackers ( ) const

Gets the currently tracked markers.


Status get_status ( ) const

Gets the status of the marker detector.