UGoogleARCoreSessionConfig

#include <GoogleARCoreSessionConfig.h>

A UDataAsset that can be used to configure ARCore specific settings on top of UARSessionConfig.

Summary

Inheritance

Inherits from: UARSessionConfig

Public attributes

AugmentedFaceMode = EGoogleARCoreAugmentedFaceMode::Disabled
Configure which Augmented Face mode will be used in the AR session.
AugmentedImageDatabase
A UGoogleARCoreAugmentedImageDatabase asset to use use for image tracking.
CameraFacing = EGoogleARCoreCameraFacing::Back
Configure which camera will be used to in the AR session.

Public functions

GetAugmentedImageDatabase()
Get the augmented image database being used.
SetAugmentedImageDatabase(UGoogleARCoreAugmentedImageDatabase *NewImageDatabase)
void
Set the augmented image database to use.

Public static functions

CreateARCoreSessionConfig(bool bHorizontalPlaneDetection, bool bVerticalPlaneDetection, EARLightEstimationMode InLightEstimationMode, EARFrameSyncMode InFrameSyncMode, bool bInEnableAutoFocus, bool bInEnableAutomaticCameraOverlay, bool bInEnableAutomaticCameraTracking)
Create a new ARCore session configuration.

Public attributes

AugmentedFaceMode

EGoogleARCoreAugmentedFaceMode AugmentedFaceMode = EGoogleARCoreAugmentedFaceMode::Disabled

Configure which Augmented Face mode will be used in the AR session.

AugmentedImageDatabase

UGoogleARCoreAugmentedImageDatabase * AugmentedImageDatabase

A UGoogleARCoreAugmentedImageDatabase asset to use use for image tracking.

CameraFacing

EGoogleARCoreCameraFacing CameraFacing = EGoogleARCoreCameraFacing::Back

Configure which camera will be used to in the AR session.

Public functions

GetAugmentedImageDatabase

UGoogleARCoreAugmentedImageDatabase * GetAugmentedImageDatabase()

Get the augmented image database being used.

SetAugmentedImageDatabase

void SetAugmentedImageDatabase(
  UGoogleARCoreAugmentedImageDatabase *NewImageDatabase
)

Set the augmented image database to use.

Public static functions

CreateARCoreSessionConfig

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

Create a new ARCore session configuration.

Details
Parameters
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.
Returns
The new configuration object.

傳送您對下列選項的寶貴意見...

這個網頁