type ImportSceneAction = (options) => void | Promise<void>;
Action function for handling scene import operations.
Parameters#
Parameter | Type | Description |
---|---|---|
options | { format? : "scene" | "archive" ; } |
options.format? | "scene" | "archive" |
Returns#
void
| Promise
<void
>
A promise that resolves with the imported scene data as a string, or the scene data directly