Skip to main content

Class: GLTFMaterialsBumpMapExtensionExport

Asset-Management.GLTFMaterialsBumpMapExtensionExport

Bump Map Extension bumpTexture and bumpScale are added to the material(standard and physical)

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

Properties​

name​

• name: string


writer​

• writer: GLTFWriter2

Constructors​

constructor​

• new GLTFMaterialsBumpMapExtensionExport(writer)

Parameters​

NameType
writerGLTFWriter2

Methods​

writeMaterial​

▸ writeMaterial(material, materialDef): void

Parameters​

NameType
materialMeshStandardMaterial<MaterialEventMap>
materialDefany

Returns​

void