UGoogleARCoreSessionFunctionLibrary::StartARCoreSession

Starts a new ARCore tracking session GoogleARCore specific configuration.

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)(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
)

Remarks

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.

Parameters

Parameter

Description

WorldContextObject

The world context.

LatentInfo

Unreal internal type required for all latent actions.

Configuration

The ARCoreSession configuration to start the session.

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