Get value of certain material parameter.
Signature:
getMaterialParameter(materialName: string, parameter: string): any;
Parameter | Description |
---|---|
materialName | material name obtained by scene.getElementMaterialNames or scene.getModelMaterialNames. |
parameter | parameter name. |
Returns:
any