Skip to main content

Module: Asset-Management

Classes

Type aliases

ExportAssetOptions

Ƭ ExportAssetOptions: ExportFileOptions & { convertMeshToIndexed?: boolean ; name?: string ; compress?: boolean }

Defined in

webgi/src/extras/asset_manager/AssetExporterPlugin.ts:11


BlobExt

Ƭ BlobExt: Blob & { ext: string }

Defined in

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


GLTFExporter2Options

Ƭ GLTFExporter2Options: GLTFExporterOptions & { embedUrlImages?: boolean ; exportExt?: string ; preserveUUIDs?: boolean ; externalImagesInExtras?: boolean }

Defined in

webgi/src/extras/asset_manager/exporter/threejs/exporters/GLTFExporter2.ts:12

Functions

processViewer

processViewer(viewer, writer): any

Export viewer config. Data can be imported by importViewer

Parameters

NameType
viewerIViewerApp
writerGLTFWriter2

Returns

any

Defined in

webgi/src/extras/asset_manager/exporter/threejs/exporters/GLTFViewerExport.ts:11


addGLTFExporter

addGLTFExporter(viewer, exporterClass?, onCtor?): void

Parameters

NameTypeDefault value
viewerIViewerAppundefined
exporterClasstypeof GLTFExporter2GLTFExporter2
onCtor?(ex: GLTFExporter2) => voidundefined

Returns

void

Defined in

webgi/src/extras/asset_manager/exporter/threejs/exporters/gltf.ts:20


addDracoLoader

addDracoLoader(): void

Returns

void

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/draco.ts:5


addGLTFLoader

addGLTFLoader(viewer): void

Parameters

NameType
viewerIViewerApp

Returns

void

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:14


addRGBELoader

addRGBELoader(renderer?): void

Parameters

NameType
renderer?WebGLRenderer

Returns

void

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/rgbe.ts:6


addZipLoader

addZipLoader(): void

Returns

void

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/zip.ts:5

Variables

viewerGLTFExtension

Const viewerGLTFExtension: "WEBGI_viewer"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:12


webgiLightExtrasExtension

Const webgiLightExtrasExtension: "WEBGI_light_extras"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:74


webgiObject3DExtrasExtension

Const webgiObject3DExtrasExtension: "WEBGI_object3d_extras"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:75


webgiMaterialExtrasExtension

Const webgiMaterialExtrasExtension: "WEBGI_material_extras"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:76


GLTFMaterialsBumpMapExtensionName

Const GLTFMaterialsBumpMapExtensionName: "WEBGI_materials_bumpmap"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:336


GLTFMaterialsDisplacementMapExtensionName

Const GLTFMaterialsDisplacementMapExtensionName: "WEBGI_materials_displacementmap"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:338


GLTFMaterialsAlphaMapExtensionName

Const GLTFMaterialsAlphaMapExtensionName: "WEBGI_materials_alphamap"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:340


GLTFMaterialsLightMapExtensionName

Const GLTFMaterialsLightMapExtensionName: "WEBGI_materials_lightmap"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:342


KHR_TEXTURE_BASISU

Const KHR_TEXTURE_BASISU: "KHR_texture_basisu"

Defined in

webgi/src/extras/asset_manager/importer/threejs/generators/ktx2.ts:11