Contents

init(archiveURL:)

Loads a reference object from the specified file URL.

Declaration

init(archiveURL url: URL) throws

Parameters

  • url:

    The local file URL containing the reference object to load.

Return Value

The reference object contained in the file.

Discussion

To use the object for detection in a world-tracking AR session, add it to the detectionObjects set in your session configuration.

See Also

Loading Reference Objects