Class: AssetExporter
Asset-Management.AssetExporter
Hierarchy
SimpleEventDispatcher
<"exporterCreate"
|"exportFile"
>↳
AssetExporter
Implements
Accessors
processors
• get
processors(): ObjectProcessorMap
<TAssetTypes
>
Returns
ObjectProcessorMap
<TAssetTypes
>
Implementation of
Defined in
webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:18
Properties
Exporters
• Readonly
Exporters: IExporter
[]
Implementation of
Defined in
webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:32
Methods
getExporter
▸ getExporter(...ext
): undefined
| IExporter
Parameters
Name | Type |
---|---|
...ext | string [] |
Returns
undefined
| IExporter
Implementation of
Defined in
webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:39
exportObject
▸ exportObject(obj?
, options?
): Promise
<undefined
| BlobExt
>
Parameters
Name | Type |
---|---|
obj? | ISceneObject <any > | IRenderTarget |
options | ExportFileOptions |
Returns
Promise
<undefined
| BlobExt
>
Implementation of
Defined in
webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:74
processBeforeExport
▸ processBeforeExport(obj
, options?
): Promise
<undefined
| { obj
: any
; ext
: string
; typeExt?
: string
}>
Parameters
Name | Type |
---|---|
obj | ISceneObject <any > | IRenderTarget |
options | AnyOptions |
Returns
Promise
<undefined
| { obj
: any
; ext
: string
; typeExt?
: string
}>
Defined in
webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:147
dispose
▸ dispose(): void
Returns
void
Defined in
webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:178
Constructors
constructor
• new AssetExporter(viewer
, options?
)
Parameters
Name | Type |
---|---|
viewer | IViewerApp |
options | AnyOptions |
Overrides
SimpleEventDispatcher<'exporterCreate' | 'exportFile'\>.constructor
Defined in
webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:43