class ScannerFactory (Niantic.ARDK.AR.Scanning.ScannerFactory)

Overview

Factory used to create instances of IScanner. More...

class ScannerFactory {
public:
    // methods

    static IScanner Create(IARSession session);
    static IScanner Create(IARSession session, string scanDataPath);
};

Detailed Documentation

Factory used to create instances of IScanner.

Methods

static IScanner Create(IARSession session)

Creates a new IScanner instance storing data in the Application's persistent data directory.

Parameters:

session

the session in which to create the scanner

static IScanner Create(IARSession session, string scanDataPath)

Creates a new IScanner instance storing data in a directory supplied as an argument.

Parameters:

session

the session in which to create the scanner

scanDataPath

directory on disk where scans should be stored.