Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapImageTracker/Public/MagicLeapImageTrackerComponent.h |
Include |
#include "MagicLeapImageTrackerComponent.h" |
Source |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapImageTracker/Private/MagicLeapImageTrackerComponent.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="ImageTracking|MagicLeap")
bool SetTargetAsync
(
UTexture2D * ImageTarget
)
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.
True if the initiation of the target change was successful, false otherwise.
Parameter |
Description |
---|---|
ImageTarget |
The new texture to be tracked. |