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 | Record <string , any > | undefined |
importer | IAssetImporter | undefined |
usePreviewImages | boolean | true |
Returns
Promise
<void
>
parseTextures2
▸ parseTextures2(json
, images
, onLoad
): Object
Parameters
Name | Type |
---|---|
json | any [] |
images | any |
onLoad | (v : any ) => void |
Returns
Object
parseMaterials2
▸ parseMaterials2(json
, textures
, materials
): any
Parameters
Name | Type |
---|---|
json | any [] |
textures | any |
materials | IMaterialManager |
Returns
any
Constructors
constructor
• new ObjectLoader2(manager
)
Parameters
Name | Type |
---|---|
manager | LoadingManager |
Overrides
ObjectLoader.constructor