Magic Leap

Actions

Enable Image Tracking

If true, image tracker will detect and track targets.

When enabled Image Tracker will gain access to the camera and start trackingimages. Enabling image tracker is expensive, takes about 1500ms on the average.

When disabled Image Tracker will release the camera and stop tracking images. Internal state of the tracker will be maintained (i.e. list of active/inactive argets and their target_handles).

This is done automatically on application pause / resume.

Target is Image Tracker Function Library

Get Max Simultaneous Targets

Gets the maximum number of Image Targets that can be tracked at any given time.

Target is Image Tracker Function Library

Is Image Tracking Enabled

Gets the active state of the image tracking system.

Target is Image Tracker Function Library

Set Max Simultaneous Targets

Set maximum number of Image Targets that can be tracked at any given time.

If the tracker is already tracking the maximum number of targets possible then it will stop searching for new targets which helps in reducing the load on the CPU. For example, if you are interested in tracking a maximum of x targets from a list y (x < y) targets then set this parameter to x.

The valid range for this parameter is from 1 through 25.

Target is Image Tracker Function Library

Set Target Async

Attempts to change the currently tracked target. Initiates an asynchronous call on a worker thread. When the task completes, the instigating blueprint will be notified by either a FSetImageTargetSucceeded or FSetImageTargetFailed event.

Target is Image Tracker Component