removeMaterial

Here goes a description of what the method does

removeMaterial(
	objectName: string,
	materialName: string
): Promise<void>

Parameters
Description
Type

objectName

The name of the object we want to delete the material from.

string

materialName

The name of the material we want to delete from the object.

string

Usage:

await modelApi.removeMaterial('Adjustable Headband', 'Gold');

Last updated