update example

This commit is contained in:
Nick Fisher
2024-04-30 17:50:03 +08:00
parent 8267a0c5f8
commit f8ed5d1b28
2 changed files with 4 additions and 2 deletions

View File

@@ -31,7 +31,9 @@ void main() async {
await viewer.updateViewportAndCameraProjection(500, 500);
var outDir = Directory("$testDir/skybox");
outDir.deleteSync(recursive: true);
outDir.createSync();
await viewer.setRecordingOutputDirectory(outDir.path);
await viewer.setRecording(true);
await viewer.loadSkybox(