Module: Asset-Management
Enumerations
Classes
- AssetExporterPlugin
- AssetExporter
- EXRExporter2
- GLTFDracoExporter
- GLTFDracoExportPlugin
- GLTFExporter2
- GLTFWriter2
- SimpleJSONExporter
- SimpleTextExporter
- GLTFMaterialsBumpMapExtensionExport
- GLTFMaterialsDisplacementMapExtensionExport
- GLTFMaterialsLightMapExtensionExport
- GLTFMaterialsAlphaMapExtensionExport
- EXRLoadPlugin
- FBXLoadPlugin
- GLTFMeshOptPlugin
- GLTFMaterialsBumpMapExtension
- GLTFMaterialsDisplacementMapExtension
- GLTFMaterialsLightMapExtension
- GLTFMaterialsAlphaMapExtension
- KTXLoadPlugin
- KTX2LoadPlugin
- ObjMtlLoadPlugin
- Rhino3dmLoader2
- Rhino3dmLoadPlugin
- STLLoadPlugin
- BlobLoader
- DRACOLoader2
- DataUrlLoader
- GLTFLoader2
- MTLLoader2
- OBJLoader2
- ObjectLoader2
- SimpleJSONLoader
- ThreeMaterialLoader
- ZipLoader
- GLTFKHRMaterialVariantsPlugin
- GLTFExporterMaterialsVariantsExtensionExport
- GLTFMaterialsVariantsExtensionImport
Interfaces
Type aliases
ExportAssetOptions
Ƭ ExportAssetOptions: ExportFileOptions
& { convertMeshToIndexed?
: boolean
; name?
: string
; compress?
: boolean
}
Defined in
webgi/src/extras/asset_manager/AssetExporterPlugin.ts:18
BlobExt
Ƭ BlobExt: Blob
& { ext
: string
}
Defined in
webgi/src/extras/asset_manager/exporter/threejs/AssetExporter.ts:12
GLTFExporter2Options
Ƭ GLTFExporter2Options: GLTFExporterOptions
& { encrypt?
: boolean
; encryptKey?
: string
| Uint8Array
; embedUrlImages?
: boolean
; embedUrlImagePreviews?
: boolean
; exportExt?
: string
; preserveUUIDs?
: boolean
; externalImagesInExtras?
: boolean
; encodeUint16Rgbe?
: boolean
; jsonSpaces?
: number
}
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/GLTFExporter2.ts:13
Functions
createGenericExtensionClass
▸ createGenericExtensionClass(name
, textures?
): typeof GenericExtension
Parameters
Name | Type |
---|---|
name | string |
textures? | Record <string , string | number > |
Returns
typeof GenericExtension
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/GLTFDracoExporter.ts:461
processViewer
▸ processViewer(viewer
, writer
): any
Export viewer config. Data can be imported by importViewer
Parameters
Name | Type |
---|---|
viewer | IViewerApp |
writer | GLTFWriter2 |
Returns
any
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/GLTFViewerExport.ts:11
addGLTFExporter
▸ addGLTFExporter(exporter
, viewer
, exporterClass?
, onCtor?
): void
Parameters
Name | Type | Default value |
---|---|---|
exporter | IAssetExporter | undefined |
viewer | IViewerApp | undefined |
exporterClass | typeof GLTFExporter2 | GLTFExporter2 |
onCtor? | (ex : GLTFExporter2 ) => void | undefined |
Returns
void
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/gltf.ts:21
addDracoLoader
▸ addDracoLoader(): Importer
<DRACOLoader2
>
Returns
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/draco.ts:4
addGLTFLoader
▸ addGLTFLoader(viewer
): Importer
<GLTFLoader2
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:14
addRGBELoader
▸ addRGBELoader(viewer
): Importer
<__class
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Importer
<__class
>
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/rgbe.ts:7
gltfExporterMaterialsVariantsExtensionExport
▸ gltfExporterMaterialsVariantsExtensionExport(writer
): GLTFExporterMaterialsVariantsExtensionExport
Parameters
Name | Type |
---|---|
writer | GLTFWriter2 |
Returns
GLTFExporterMaterialsVariantsExtensionExport
Defined in
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:95
webgiObject3DExtrasExtension
• Const
webgiObject3DExtrasExtension: "WEBGI_object3d_extras"
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:96
webgiMaterialExtrasExtension
• Const
webgiMaterialExtrasExtension: "WEBGI_material_extras"
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:97
GLTFMaterialsBumpMapExtensionName
• Const
GLTFMaterialsBumpMapExtensionName: "WEBGI_materials_bumpmap"
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:392
GLTFMaterialsDisplacementMapExtensionName
• Const
GLTFMaterialsDisplacementMapExtensionName: "WEBGI_materials_displacementmap"
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:394
GLTFMaterialsAlphaMapExtensionName
• Const
GLTFMaterialsAlphaMapExtensionName: "WEBGI_materials_alphamap"
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:396
GLTFMaterialsLightMapExtensionName
• Const
GLTFMaterialsLightMapExtensionName: "WEBGI_materials_lightmap"
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/gltf.ts:398
KHR_TEXTURE_BASISU
• Const
KHR_TEXTURE_BASISU: "KHR_texture_basisu"
Defined in
webgi/src/extras/asset_manager/importer/threejs/generators/ktx2.ts:11
glbEncryptionPreparser
• Const
glbEncryptionPreparser: IGLBEncryptionPreparser
Defined in
webgi/src/extras/asset_manager/importer/threejs/loaders/GLTFLoader2.ts:62
khrMaterialsVariantsGLTF
• Const
khrMaterialsVariantsGLTF: "KHR_materials_variants"