Skip to main content

class XRScanningConfiguration

(Niantic.Lightship.AR.XRSubsystems.XRScanningConfiguration)

Overview

Configuration for scanning.

class XRScanningConfiguration {
public:
// properties

int Framerate;
bool RaycasterVisualizationEnabled;
bool VoxelVisualizationEnabled;
bool UseEstimatedDepth;
Vector2 RaycasterVisualizationResolution;
bool FullResolutionEnabled;
float MaxScanningDistance;
string ScanBasePath;
string? ScanTargetId;

// methods

XRScanningConfiguration();
};

Detailed Documentation

Configuration for scanning.

    See also:

    XRScanningConfiguration

Properties

RaycasterVisualizationResolution

Vector2 RaycasterVisualizationResolution

The resolution of the raycast visualization's output images. The output quality is bound by both this resolution as well as the quality of the underlying 3D reconstruction data. On devices without native depth support, the underlying data is unlikely to be good enough to support resolution larger than 256x144.

Methods

XRScanningConfiguration

XRScanningConfiguration()

Default constructor for the XRScanningConfiguration.