Skip to main content

Class: GLTFMaterialsBumpMapExtension

Asset-Management.GLTFMaterialsBumpMapExtension

Bump Map Extension

bumpTexture and bumpScale are added to the material

Specification: https://webgi.xyz/docs/gltf-extensions/WEBGI_materials_bumpmap.html

Properties

name

name: string

Defined in

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


parser

parser: GLTFParser

Constructors

constructor

new GLTFMaterialsBumpMapExtension(parser)

Parameters

NameType
parserGLTFParser

Defined in

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

Methods

extendMaterialParams

extendMaterialParams(materialIndex, materialParams): Promise<void | Texture[]>

Parameters

NameType
materialIndexnumber
materialParamsany

Returns

Promise<void | Texture[]>

Defined in

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