UGoogleARCoreSessionConfig::CreateARCoreSessionConfig

Create a new ARCore session configuration.

Windows
MacOS
Linux

References

Module

GoogleARCoreBase

Header

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Public/GoogleARCoreSessionConfig.h

Include

#include "GoogleARCoreSessionConfig.h"

Syntax

static UGoogleARCoreSessionConfig * CreateARCoreSessionConfig
(
    bool bHorizontalPlaneDetection,
    bool bVerticalPlaneDetection,
    EARLightEstimationMode InLightEstimationMode,
    EARFrameSyncMode InFrameSyncMode,
    bool bInEnableAutoFocus,
    bool bInEnableAutomaticCameraOverlay,
    bool bInEnableAutomaticCameraTracking
)

Remarks

Create a new ARCore session configuration.

Returns

The new configuration object.

Parameters

Parameter

Description

bHorizontalPlaneDetection

True to enable horizontal plane detection.

bVerticalPlaneDetection

True to enable vertical plane detection.

InLightEstimationMode

The light estimation mode to use.

InFrameSyncMode

The frame synchronization mode to use.

bInEnableAutoFocus

True to enable auto-focus.

bInEnableAutomaticCameraOverlay

True to enable the camera overlay.

bInEnableAutomaticCameraTracking

True to enable automatic camera tracking.

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