Contents

exportFlattened(to:)

Exports the stage as a flattened USD file.

Declaration

func exportFlattened(to url: URL) throws

Discussion

Composes all layers into a single layer and writes it to the specified location. The output format is determined by the file extension.

Throws an error if the extension is not .usda, .usdc, or .usd.

See Also

Exporting the stage