EARSessionTrackingFeature

Options for more tracking features to be enabled for the session, in addition to what is already defined in the project's .

Choose your operating system:

Windows

macOS

Linux

References

Module

AugmentedReality

Header

/Engine/Source/Runtime/AugmentedReality/Public/ARSessionConfig.h

Include

#include "ARSessionConfig.h"

Syntax

enum EARSessionTrackingFeature
{
    None,
    PoseDetection2D,
    PersonSegmentation,
    PersonSegmentationWithDepth,
    SceneDepth,
    SmoothedSceneDepth,
}

Values

Name

Description

None

No additional features are enabled.

PoseDetection2D

Adds tracking for 2D human poses to the session. This feature is used by ARKit.

PersonSegmentation

Uses person segmentation for occlusion in the session. This feature is used by ARKit.

PersonSegmentationWithDepth

Uses person segmentation with depth information for occlusion in the session.

SceneDepth

Uses scene depth for occlusion while tracking in the session.

SmoothedSceneDepth

Uses smoothed scene depth for occlusion while tracking in the session.

Remarks

Options for more tracking features to be enabled for the session, in addition to what is already defined in the project's .