Preparing search index...
The search index is not available
ThreePipe
ThreePipe
GLTFExporter2
Class GLTFExporter2
Hierarchy
GLTFExporter
GLTFExporter2
Implements
IExportParser
Index
Constructors
constructor
Properties
processors
Export
Extensions
Methods
gltf
Viewer
Writer
parse
parse
Async
register
setup
Constructors
constructor
new GLTFExporter2
(
)
:
GLTFExporter2
Returns
GLTFExporter2
Properties
processors
processors
:
(
(
obj
,
options
)
=>
Promise
<
any
>
)
[]
= []
Type declaration
(
obj
,
options
)
:
Promise
<
any
>
Parameters
obj
:
any
options
:
GLTFExporter2Options
Returns
Promise
<
any
>
Static
Export
Extensions
Export
Extensions
:
(
(
parser
)
=>
GLTFExporterPlugin
)
[]
= ...
Type declaration
(
parser
)
:
GLTFExporterPlugin
Parameters
parser
:
GLTFWriter2
Returns
GLTFExporterPlugin
Methods
gltf
Viewer
Writer
gltf
Viewer
Writer
(
viewer
)
:
(
(
parser
)
=>
GLTFExporterPlugin
)
Parameters
viewer
:
ThreeViewer
Returns
(
(
parser
)
=>
GLTFExporterPlugin
)
(
parser
)
:
GLTFExporterPlugin
Parameters
parser
:
GLTFWriter2
Returns
GLTFExporterPlugin
parse
parse
(
input
,
onDone
,
onError
,
options
?
)
:
void
Parameters
input
:
Object3D
<
Event
,
string
>
|
Object3D
<
Event
,
string
>
[]
onDone
:
(
(
gltf
)
=>
void
)
(
gltf
)
:
void
Parameters
gltf
:
ArrayBuffer
|
{
[
key
:
string
]
:
any
;
}
Returns
void
onError
:
(
(
error
)
=>
void
)
(
error
)
:
void
Parameters
error
:
ErrorEvent
Returns
void
options
:
GLTFExporter2Options
= {}
Returns
void
parse
Async
parse
Async
(
obj
,
options
)
:
Promise
<
Blob
>
Parameters
obj
:
any
options
:
GLTFExporter2Options
Returns
Promise
<
Blob
>
register
register
(
callback
)
:
this
Parameters
callback
:
(
(
writer
)
=>
GLTFExporterPlugin
)
(
writer
)
:
GLTFExporterPlugin
Parameters
writer
:
GLTFWriter2
Returns
GLTFExporterPlugin
Returns
this
setup
setup
(
viewer
,
extraExtensions
?
)
:
this
Parameters
viewer
:
ThreeViewer
Optional
extraExtensions
:
(
(
parser
)
=>
GLTFExporterPlugin
)
[]
Returns
this
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
processors
Export
Extensions
gltf
Viewer
Writer
parse
parse
Async
register
setup
ThreePipe
FragmentClippingMode
AAssetManagerProcessStatePlugin
ACameraControlsPlugin
ACameraHelperWidget
AHelperWidget
ALightHelperWidget
AScreenPassExtensionPlugin
AViewerPlugin
AViewerPluginAsync
AViewerPluginSync
AmbientLight2
AssetExporter
AssetExporterPlugin
AssetImporter
AssetManager
BaseGroundPlugin
BaseImporterPlugin
Box3B
BoxSelectionWidget
BufferGeometry2
CameraHelper2
Loading...
Generated using
TypeDoc