| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/AugmentedReality/Public/ARDependencyHandler.h |
Include |
#include "ARDependencyHandler.h" |
class UARDependencyHandler :
public UObject,
public IModularFeature
Helper class that allows the user to explicitly request AR service installation and permission granting. Recommended flow for explicit management:
Call "GetARDependencyHandler" to get a handler, if valid:
Call "CheckARServiceAvailability" to check availability, if the device is supported:
Call "InstallARService" to install AR service dependency, if installed:
Call "RequestARSessionPermission" to request permission, if granted:
Call "UARBlueprintLibrary::StartARSession" to start the session. Alternatively, you can also call "StartARSessionLatent" which handles dependency and permission internally.
Name | Description | ||
---|---|---|---|
|
CheckARServiceAvailability ( |
Latent action to check AR availability on the current platform. |
|
|
UARDependenc... |
GetARDependencyHandler() |
|
|
GetModularFeatureName() |
||
|
InstallARService ( |
Latent action to install AR service on the current platform. |
|
|
RequestARSessionPermission ( |
Latent action to request permission to run the supplied session configuration. |
|
|
StartARSessionLatent ( |
Latent action to start AR session. |