UMagicLeapImageTrackerComponent::SetTargetAsync

Attempts to change the currently tracked target.

Windows
MacOS
Linux

References

Module

MagicLeapImageTracker

Header

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

Include

#include "MagicLeapImageTrackerComponent.h"

Source

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

Syntax

UFUNCTION (BlueprintCallable, Category="ImageTracking|MagicLeap")
bool SetTargetAsync
(
    UTexture2D * ImageTarget
)

Remarks

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.

Returns

True if the initiation of the target change was successful, false otherwise.

Parameters

Parameter

Description

ImageTarget

The new texture to be tracked.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback