interface IARWorldTrackingConfiguration (Niantic.ARDK.AR.Configuration.IARWorldTrackingConfiguration)

Overview

interface IARWorldTrackingConfiguration: Niantic.ARDK.AR.Configuration.IARConfiguration {
    // properties

    UInt32 DepthTargetFrameRate;
    IReadOnlyCollection<IARReferenceImage> DetectionImages;
    bool IsAutoFocusEnabled;
    bool IsDepthEnabled;
    bool IsDepthPointCloudEnabled;
    bool IsMeshingEnabled;
    bool IsPalmDetectionEnabled;
    bool IsSemanticSegmentationEnabled;
    bool IsSharedExperienceEnabled;
    float MeshingRadius;
    float MeshingTargetBlockSize;
    UInt32 MeshingTargetFrameRate;
    PlaneDetection PlaneDetection;
    UInt32 SemanticTargetFrameRate;

    // methods

    void SetDetectionImagesAsync(
        IReadOnlyCollection<IARReferenceImage> detectionImages,
        Action completionHandler
    );
};

Inherited Members

public:
    // properties

    bool IsLightEstimationEnabled;
    IReadOnlyCollection<IARVideoFormat> SupportedVideoFormats;
    IARVideoFormat VideoFormat;
    WorldAlignment WorldAlignment;

    // methods

    void CopyTo(IARConfiguration target);

Detailed Documentation

Properties

UInt32 DepthTargetFrameRate

A value specifying how many times the depth generation routine should target running per second.

IReadOnlyCollection<IARReferenceImage> DetectionImages

Used to get or set the reference images to detect when running this configuration.

Note

Not supported in Editor.

bool IsAutoFocusEnabled

A value specifying whether the camera should use autofocus or not when running.

bool IsDepthEnabled

A boolean specifying whether or not depths are enabled.

bool IsDepthPointCloudEnabled

A boolean specifying whether or not depth point cloud generation are enabled.

bool IsMeshingEnabled

A boolean specifying whether or not meshing is enabled.

bool IsPalmDetectionEnabled

A boolean specifying whether or not palms are detected.

Note

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

bool IsSemanticSegmentationEnabled

A boolean specifying whether or not semantic segmentation is enabled.

bool IsSharedExperienceEnabled

A boolean specifying whether the session will generate the necessary data to enable peer-to-peer AR experiences. Defaults to false.

float MeshingRadius

A value specifying the radius in meters of the meshed area around the player. The minimum value is 5 meters. The default value is 0, meaning that there is no limitations while the mesh grows forever.

float MeshingTargetBlockSize

A value specifying the target size of a mesh block in meters.

UInt32 MeshingTargetFrameRate

A value specifying how many times the meshing routine should target running per second.

PlaneDetection PlaneDetection

A value specifying how and whether the session will detect real-world surfaces.

Note

Defaults to PlaneDetection.None.

UInt32 SemanticTargetFrameRate

A value specifying how many times the semantic segmentation routine should target running per second.

Methods

void SetDetectionImagesAsync(
    IReadOnlyCollection<IARReferenceImage> detectionImages,
    Action completionHandler
)

Set the detection images for this configuration asynchronously. The provided callback will be called upon completion.