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](Programming/UnrealArchitecture/Reference/Functions)(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.

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