format files
This commit is contained in:
parent
fd5a53fc99
commit
dd463ddc86
|
|
@ -1116,7 +1116,11 @@ scene-exporter.ts
|
|||
audioBuffer,
|
||||
}: ExportParams)
|
||||
cancel(): void
|
||||
async export({ rootNode }: { rootNode: RootNode }): Promise<ArrayBuffer | null>
|
||||
async export({
|
||||
rootNode,
|
||||
}: {
|
||||
rootNode: RootNode;
|
||||
}): Promise<ArrayBuffer | null>
|
||||
}
|
||||
|
||||
## apps/web/src/services/storage
|
||||
|
|
|
|||
|
|
@ -77,7 +77,11 @@ export class SceneExporter extends EventEmitter<SceneExporterEvents> {
|
|||
this.isCancelled = true;
|
||||
}
|
||||
|
||||
async export({ rootNode }: { rootNode: RootNode }): Promise<ArrayBuffer | null> {
|
||||
async export({
|
||||
rootNode,
|
||||
}: {
|
||||
rootNode: RootNode;
|
||||
}): Promise<ArrayBuffer | null> {
|
||||
const { fps } = this.renderer;
|
||||
const frameCount = Math.ceil(rootNode.duration * fps);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue