Skip to main content

class XRScanningConfiguration

(Niantic.Lightship.AR.XRSubsystems.XRScanningConfiguration)

Overview​

Configuration for scanning.

class XRScanningConfiguration {
public:
// properties

int Framerate;
bool RaycasterVisualizationEnabled;
Vector2 RaycasterVisualizationResolution;
float NearDepth;
float FarDepth;
bool VoxelVisualizationEnabled;
float VoxelSize;
bool UseEstimatedDepth;
bool FullResolutionEnabled;
int FullResolutionFramerate;
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.