Class: GLTFMaterialsDisplacementMapExtensionExport
Asset-Management.GLTFMaterialsDisplacementMapExtensionExport
Displacement Map Extension displacementTexture and displacementScale are added to the material(standard and physical)
Specification: https://webgi.xyz/docs/gltf-extensions/WEBGI_materials_displacementmap.html
Properties
name
• name: string
writer
• writer: GLTFWriter2
Constructors
constructor
• new GLTFMaterialsDisplacementMapExtensionExport(writer)
Parameters
| Name | Type |
|---|---|
writer | GLTFWriter2 |
Methods
writeMaterial
▸ writeMaterial(material, materialDef): void
Parameters
| Name | Type |
|---|---|
material | MeshStandardMaterial<MaterialEventMap> |
materialDef | any |
Returns
void