Class: GLTFMaterialsLightMapExtensionExport
Asset-Management.GLTFMaterialsLightMapExtensionExport
Light Map Extension lightMapTexture and lightMapIntensity are added to the material(standard and physical)
Specification: https://webgi.xyz/docs/gltf-extensions/WEBGI_materials_lightmap.html
Properties
name
• name: string
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/gltf.ts:359
writer
• writer: GLTFWriter2
Constructors
constructor
• new GLTFMaterialsLightMapExtensionExport(writer
)
Parameters
Name | Type |
---|---|
writer | GLTFWriter2 |
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/gltf.ts:361
Methods
writeMaterial
▸ writeMaterial(material
, materialDef
): void
Parameters
Name | Type |
---|---|
material | MeshStandardMaterial <Event , string > |
materialDef | any |
Returns
void
Defined in
webgi/src/extras/asset_manager/exporter/threejs/exporters/gltf.ts:367