Contents

exportPackage(to:options:)

Packages the stage into a USDZ archive.

Declaration

func exportPackage(to url: URL, options: USDStage.ExportOptions = []) throws

Discussion

The stage and its referenced assets are bundled into a USDZ file. Layer structure is preserved — this operation does not flatten.

Throws an error if the extension is not .usdz.

See Also

Exporting the stage