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); await viewer.updateViewportAndCameraProjection(500, 500);
var outDir = Directory("$testDir/skybox"); var outDir = Directory("$testDir/skybox");
outDir.deleteSync(recursive: true);
outDir.createSync(); outDir.createSync();
await viewer.setRecordingOutputDirectory(outDir.path); await viewer.setRecordingOutputDirectory(outDir.path);
await viewer.setRecording(true); await viewer.setRecording(true);
await viewer.loadSkybox( await viewer.loadSkybox(

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:049d0c7b05f78f95892418ad6a28555b28fc5d69d9d7b7344b1617d467781e17 oid sha256:2b607499a204000d3f4ec9a029d6e8416ce81557dc95dbceb0850af6ba482776
size 108873 size 109065