Class: GLTFExporter2
Asset-Management.GLTFExporter2
Hierarchy
GLTFExporter
↳
GLTFExporter2
Implements
Constructors
constructor
• new GLTFExporter2()
Inherited from
GLTFExporter.constructor
Methods
register
▸ register(callback
): GLTFExporter2
Parameters
Name | Type |
---|---|
callback | (writer : GLTFWriter & GLTFWriter2 ) => GLTFExporterPlugin |
Returns
Overrides
GLTFExporter.register
parseAsync
▸ parseAsync(obj
, options
): Promise
<Blob
>
Parameters
Name | Type |
---|---|
obj | any |
options | GLTFExporter2Options |
Returns
Promise
<Blob
>
Implementation of
Overrides
GLTFExporter.parseAsync
parse
▸ parse(input
, onDone
, onError
, options?
): any
Parameters
Name | Type |
---|---|
input | Object3D <Object3DEventMap > | Object3D <Object3DEventMap >[] |
onDone | (gltf : ArrayBuffer | { [key: string] : any ; }) => void |
onError | (error : ErrorEvent ) => void |
options | GLTFExporter2Options |
Returns
any
Overrides
GLTFExporter.parse