Viewer3DBase.getMaterialParameter() method

Get value of certain material parameter.

Signature:

getMaterialParameter(materialName: string, parameter: string): any;

Parameters

ParameterDescription
materialNamematerial name obtained by scene.getElementMaterialNames or scene.getModelMaterialNames.
parameterparameter name.

Returns:

any