UGoogleARCoreFrameFunctionLibrary::GetTrackingFailureReason

Returns the reason when [UARBlueprintLibrary::GetTrackingQuality()](API\Runtime\AugmentedReality\UARBlueprintLibrary\GetTrackingQuality) returns NotTracking, or [UGoogleARCoreFrameFunctionLibrary::GetTrackingState](API\Plugins\GoogleARCoreBase\UGoogleARCoreFrameFunctionLibrar-\GetTrackingState) returns Paused.

Windows
MacOS
Linux

References

Module

GoogleARCoreBase

Header

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Public/GoogleARCoreFunctionLibrary.h

Include

#include "GoogleARCoreFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Private/GoogleARCoreFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure, Category="GoogleARCore|MotionTracking",
          Meta=(Keywords="googlear arcore session"))
static EGoogleARCoreTrackingFailureReason GetTrackingFailureReason()

Remarks

Returns the reason when UARBlueprintLibrary::GetTrackingQuality() returns NotTracking, or UGoogleARCoreFrameFunctionLibrary::GetTrackingState returns Paused.

In scenarios when multiple causes result in tracking failures, this reports the most actionable failure reason.

Returns

A EGoogleARCoreTrackingFailureReason enum that describes the tracking failure reason.

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