Skip to main content

Class: AssetExporter

Asset-Management.AssetExporter

Hierarchy

  • SimpleEventDispatcher<"exporterCreate" | "exportFile">

    AssetExporter

Implements

Accessors

processors

get processors(): ObjectProcessorMap<TAssetTypes>

Returns

ObjectProcessorMap<TAssetTypes>

Implementation of

IAssetExporter.processors

Defined in

webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:18

Properties

Exporters

Readonly Exporters: IExporter[]

Implementation of

IAssetExporter.Exporters

Defined in

webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:32

Methods

getExporter

getExporter(...ext): undefined | IExporter

Parameters

NameType
...extstring[]

Returns

undefined | IExporter

Implementation of

IAssetExporter.getExporter

Defined in

webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:39


exportObject

exportObject(obj?, options?): Promise<undefined | BlobExt>

Parameters

NameType
obj?ISceneObject<any> | IRenderTarget
optionsExportFileOptions

Returns

Promise<undefined | BlobExt>

Implementation of

IAssetExporter.exportObject

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

NameType
objISceneObject<any> | IRenderTarget
optionsAnyOptions

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

NameType
viewerIViewerApp
optionsAnyOptions

Overrides

SimpleEventDispatcher<'exporterCreate' | 'exportFile'\>.constructor

Defined in

webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:43