Skip to content

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 ​

ParameterType
materialMaterial
specReadonly<MeshMaterialSpec>

Returns ​

void

Released under the MIT License.