Class GLTF2Export
Constructors
constructor
-
Returns GLTF2Export
Methods
StaticGLB Async
-
Exports the scene to .glb file format
Parameters
- scene: Scene
Babylon scene
- fileName: string
Name to use for the .glb file
Optionaloptions: IExportOptionsExporter options
Returns Promise<GLTFData>
Returns the exported data
- scene: Scene
StaticGLTF Async
-
Exports the scene to .gltf file format
Parameters
- scene: Scene
Babylon scene
- fileName: string
Name to use for the .gltf file
Optionaloptions: IExportOptionsExporter options
Returns Promise<GLTFData>
Returns the exported data
- scene: Scene
Class for generating glTF data from a Babylon scene.