Module |
|
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 |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="GoogleARCore|Session",
Meta=(Latent, LatentInfo="LatentInfo", WorldContext="WorldContextObject", Keywords="googlear arcore session start config"))
static void StartARCoreSession
(
UObject * WorldContextObject,
struct FLatentActionInfo LatentInfo,
UGoogleARCoreSessionConfig * Configuration
)
Starts a new ARCore tracking session GoogleARCore specific configuration. If the session already started and the config isn't the same, it will stop the previous session and start a new session with the new config. Note that this is a latent action, you can query the session start result by querying GetARCoreSessionStatus() after the latent action finished.
Parameter |
Description |
---|---|
WorldContextObject |
The world context. |
LatentInfo |
Unreal internal type required for all latent actions. |
Configuration |
The ARCoreSession configuration to start the session. |