Skip to main content

Class: GLTFMaterialsAlphaMapExtension

Asset-Management.GLTFMaterialsAlphaMapExtension

Alpha Map Extension

alphaTexture is added to the material This is separate from the alpha in base color texture. This is used when that is not supported in the viewer

Specification: https://dist.pixotronics.com/webgi/manual/gltf/WEBGI_materials_alphamap.html

Properties

name

name: string

Defined in

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


parser

parser: GLTFParser

Constructors

constructor

new GLTFMaterialsAlphaMapExtension(parser)

Parameters

NameType
parserGLTFParser

Defined in

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

Methods

extendMaterialParams

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

Parameters

NameType
materialIndexnumber
materialParamsany

Returns

Promise<void | void[]>

Defined in

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