Warning: This API is now obsolete.
Use getElementMaterialNames to get material names and set material parameter through viewer3D.setMaterialParameter.
Signature:
getElementMaterials(elementName: string): MaterialAdhoc[];
Parameter | Description |
---|---|
elementName | Element name. |
Returns:
MaterialAdhoc[]