Methods
createMaterialData
Parameters
materialProperties: Partial<IMaterialAbstractDataPropertiesGeneric<IMapData>>
createMaterialDataFromDefinition
loadMap
- loadMap(url: string, id?: string): Promise<undefined | MapData>
Parameters
url: string
Optional id: string
Returns Promise<undefined | MapData>
loadMapFromDefinition
Parameters
Returns Promise<undefined | MapData>
loadMapWithProperties
Parameters
Returns Promise<undefined | MapData>
loadPresetMaterialDefinition
loadTexture
- loadTexture(url: string): Promise<HttpResponse<{ blob: Blob; buffer: ArrayBuffer; image?: HTMLImageElement }>>
Parameters
Returns Promise<HttpResponse<{ blob: Blob; buffer: ArrayBuffer; image?: HTMLImageElement }>>
Create a material data based on the material properties