exportScene method

Future<void> exportScene(
  1. String fileName,
  2. Scene scene, [
  3. String? path,
  4. USDZOptions? options,
])

Implementation

Future<void> exportScene(String fileName, Scene scene, [String? path, USDZOptions? options ]) async{
  SaveFile.saveBytes(
    printName: fileName,
    fileType: 'usdz',
    bytes: await exporter.parse(scene, path: fileName, options: options),
    path: path
  );
}