Class: ObjectLoader2
Asset-Management.ObjectLoader2
Hierarchy
ObjectLoader
↳
ObjectLoader2
Methods
LoadRootPathTextures
▸ Static
LoadRootPathTextures(textures
, images
, importer
, usePreviewImages?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
textures | any | undefined |
images | any | undefined |
importer | IAssetImporter | undefined |
usePreviewImages | boolean | true |
Returns
Promise
<void
>
Defined in
webgi/src/extras/asset_manager/importer/threejs/loaders/ObjectLoader2.ts:16
parseTextures2
▸ parseTextures2(json
, images
, onLoad
): Object
Parameters
Name | Type |
---|---|
json | any [] |
images | any |
onLoad | (v : any ) => void |
Returns
Object
Defined in
webgi/src/extras/asset_manager/importer/threejs/loaders/ObjectLoader2.ts:48
parseMaterials2
▸ parseMaterials2(json
, textures
, materials
): any
Parameters
Name | Type |
---|---|
json | any [] |
textures | any |
materials | IMaterialManager |
Returns
any
Defined in
webgi/src/extras/asset_manager/importer/threejs/loaders/ObjectLoader2.ts:86
Constructors
constructor
• new ObjectLoader2(manager
)
Parameters
Name | Type |
---|---|
manager | LoadingManager |
Overrides
ObjectLoader.constructor
Defined in
webgi/src/extras/asset_manager/importer/threejs/loaders/ObjectLoader2.ts:11