Class GLTF2Export
Hierarchy
- GLTF2Export
Index
Constructors
Methods
Constructors
constructor
Returns GLTF2Export
Methods
Static GLBAsyncSearch playground for GLBAsync
Exports the geometry of the scene to .glb file format asychronously
Parameters
scene: Scene
Babylon scene with scene hierarchy information
filePrefix: string
File prefix to use when generating glb file
Optional options: IExportOptions
Exporter options
Returns Promise<GLTFData>
Returns an object with a .glb filename as key and data as value
Static GLTFAsyncSearch playground for GLTFAsync
Exports the geometry of the scene to .gltf file format asynchronously
Parameters
scene: Scene
Babylon scene with scene hierarchy information
filePrefix: string
File prefix to use when generating the glTF file
Optional options: IExportOptions
Exporter options
Returns Promise<GLTFData>
Returns an object with a .gltf file and associates texture names as keys and their data and paths as values
Class for generating glTF data from a Babylon scene.