Function: applyMaterialParams()
ts
function applyMaterialParams(material, spec): void;Experimental
Set a spec's parameters on the material's matching properties (see the module comment).
Parameters
| Parameter | Type |
|---|---|
material | Material |
spec | Readonly<MeshMaterialSpec> |
Returns
void