UMagicLeapImageTrackerFunctionLibrary::EnableImageTracking

If true, image tracker will detect and track targets.

Windows
MacOS
Linux

References

Module

MagicLeapImageTracker

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapImageTracker/Public/MagicLeapImageTrackerFunctionLibrary.h

Include

#include "MagicLeapImageTrackerFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapImageTracker/Private/MagicLeapImageTrackerFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="ImageTracking|MagicLeap")
static void EnableImageTracking
(
    bool bEnable
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss