export(to:metadataURL:modelProvider:exportOptions:)
Produces a 3D asset from the captured structure.
Declaration
func export(to url: URL, metadataURL: URL? = nil, modelProvider: CapturedStructure.ModelProvider? = nil, exportOptions: CapturedStructure.USDExportOptions = .mesh) throwsParameters
- url:
A location that the captured structure exports to.
- metadataURL:
A location that the captured room metadata exports to.
- modelProvider:
A collection of mappings of object categories and attributes to 3D model URLs.
- exportOptions:
Options that determine the export’s data format.
Discussion
The file format of the output is Universal Scene Description (USD).