Class: AssetExporter
Asset-Management.AssetExporter
Hierarchy
SimpleEventDispatcher<"exporterCreate"|"exportFile">↳
AssetExporter
Implements
Accessors
processors
• get processors(): ObjectProcessorMap<TAssetTypes>
Returns
ObjectProcessorMap<TAssetTypes>
Implementation of
Properties
Exporters
• Readonly Exporters: IExporter[]
Implementation of
Methods
getExporter
▸ getExporter(...ext): undefined | IExporter
Parameters
| Name | Type |
|---|---|
...ext | string[] |
Returns
undefined | IExporter
Implementation of
exportObject
▸ exportObject(obj?, options?): Promise<undefined | BlobExt>
Parameters
| Name | Type |
|---|---|
obj? | ISceneObject<any> | IRenderTarget |
options | ExportFileOptions |
Returns
Promise<undefined | BlobExt>
Implementation of
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 }>
dispose
▸ dispose(): void
Returns
void
Constructors
constructor
• new AssetExporter(viewer, options?)
Parameters
| Name | Type |
|---|---|
viewer | ViewerApp |
options | AnyOptions |
Overrides
SimpleEventDispatcher<'exporterCreate' | 'exportFile'\>.constructor