| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapImageTracker/Public/MagicLeapImageTrackerComponent.h |
Include |
#include "MagicLeapImageTrackerComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap, BlueprintType, Blueprintable, EditInlineNew,
Meta=(BlueprintSpawnableComponent))
class UMagicLeapImageTrackerComponent : public USceneComponent
The MLImageTrackerComponent will keep track of whether the image that it has been provided is currently visible to the headset camera.
Currently only R8G8B8A8 and B8G8R8A8 textures are supported.
Name | Description | ||
---|---|---|---|
|
bIsStationary |
Set this to true to improve detection for stationary targets. |
|
|
bUseUnreliablePose |
If false, the pose will not be updated when tracking is unreliable. |
|
|
float |
LongerDimension |
LongerDimension refers to the size of the longer dimension (width or height) of the physical image target in Unreal units. |
|
Name |
The name of the target. |
|
|
OnImageTargetFound |
Activated when the target image becomes visible to the camera |
|
|
OnImageTargetLost |
Activated the target image becomes invisible to the camera |
|
|
OnImageTargetUnreliableTracking |
Activated when the target image is tracked with low confidence. |
|
|
OnSetImageTargetFailed |
Activated when the target image fails to be set. |
|
|
OnSetImageTargetSucceeded |
Private: |
|
|
UTexture2D *... |
TargetImageTexture |
The texture that will be tracked by this image tracker instance. |
Name | Description | |
---|---|---|
|
UMagicLeapImageTrackerComponent() |
Name | Description | ||
---|---|---|---|
|
RemoveTargetAsync() |
Attempts to remove the currently tracked target. Initiates an asynchronous call on a worker thread. |
|
|
SetTargetAsync ( |
Attempts to change the currently tracked target. |
Name | Description | ||
---|---|---|---|
|
EndPlay ( |
Initiates the setting of the image target (if TargetImageTexture is not null). |
|
|
TickComponent ( |
Attempts to retrieve and set the relative pose of the tracked image. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PreEditChange ( |
This is called when a property is about to be modified externally |