Class: GLTFExporter2
Asset-Management.GLTFExporter2
Hierarchy
GLTFExporter
↳
GLTFExporter2
Implements
Constructors
constructor
• new GLTFExporter2()
Inherited from
GLTFExporter.constructor
Defined in
webgi/node_modules/@types/three/examples/jsm/exporters/GLTFExporter.d.ts:51
Methods
register
▸ register(callback
): GLTFExporter2
Parameters
Name | Type |
---|---|
callback | (writer : GLTFWriter & GLTFWriter2 ) => GLTFExporterPlugin |
Returns
Overrides
GLTFExporter.register
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/GLTFExporter2.ts:27
parseAsync
▸ parseAsync(obj
, options
): Promise
<Blob
>
Parameters
Name | Type |
---|---|
obj | any |
options | GLTFExporter2Options |
Returns
Promise
<Blob
>
Implementation of
Overrides
GLTFExporter.parseAsync
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/GLTFExporter2.ts:31
parse
▸ parse(input
, onDone
, onError
, options?
): any
Parameters
Name | Type |
---|---|
input | Object3D <Event , string > | Object3D <Event , string >[] |
onDone | (gltf : ArrayBuffer | { [key: string] : any ; }) => void |
onError | (error : ErrorEvent ) => void |
options | GLTFExporter2Options |
Returns
any
Overrides
GLTFExporter.parse
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/GLTFExporter2.ts:65