UARBlueprintLibrary::GetARSessionStatus

It is intended that you check the status of the Augmented Reality session on every frame and take action accordingly.

Choose your operating system:

Windows

macOS

Linux

References

Module

AugmentedReality

Header

/Engine/Source/Runtime/AugmentedReality/Public/ARBlueprintLibrary.h

Include

#include "ARBlueprintLibrary.h"

Source

/Engine/Source/Runtime/AugmentedReality/Private/ARBlueprintLibrary.cpp

Syntax

static FARSessionStatus GetARSessionStatus()

Remarks

It is intended that you check the status of the Augmented Reality session on every frame and take action accordingly. e.g. if the session stopped for an unexpected reason, you might give the user a prompt to re-start the session

Returns

The status of a current Augmented Reality session: e.g. Running or Not running for a specific reason.