Function: extrusionMaterialSpec()
ts
function extrusionMaterialSpec(material, onTextureLoad?): MeshMaterialSpec | null;Experimental
The mesh material spec of a defaulted material attribute (core litMaterialAttributes): null for Plotly's model; CSS colors become sRGB tuples, a matcap URL a texture (onTextureLoad is called once it has loaded).
Parameters
| Parameter | Type |
|---|---|
material | unknown |
onTextureLoad? | () => void |
Returns
MeshMaterialSpec | null