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://dist.pixotronics.com/webgi/manual/gltf/WEBGI_materials_bumpmap.html

Properties

name

name: string

Defined in

webgi/src/extras/asset_manager/exporter/threejs/exporters/gltf.ts:249


writer

writer: GLTFWriter2

Constructors

constructor

new GLTFMaterialsBumpMapExtensionExport(writer)

Parameters

NameType
writerGLTFWriter2

Defined in

webgi/src/extras/asset_manager/exporter/threejs/exporters/gltf.ts:251

Methods

writeMaterial

writeMaterial(material, materialDef): void

Parameters

NameType
materialMeshStandardMaterial
materialDefany

Returns

void

Defined in

webgi/src/extras/asset_manager/exporter/threejs/exporters/gltf.ts:257