UGoogleARCoreSessionFunctionLibrary::SetARCoreCameraConfig

Configure the ARCoreSession with the desired camera 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=(Keywords="googlear arcore camera config"))
static bool SetARCoreCameraConfig
(
    FGoogleARCoreCameraConfig TargetCameraConfig
)

Remarks

Configure the ARCoreSession with the desired camera configuration. The TargetCameraConfig must be from a list returned by UGoogleARCoreEventManager::OnCameraConfig delegate.

This function should be called when UGoogleARCoreEventManager::OnCameraConfig delegate got triggered.

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