Last updated 2 months ago
Sets the active in a specific object.
setActiveMaterial( objectName: string, materialName: string ): Promise<void>
objectName
The name of the object we want to set the active Material to.
string
materialName
The name of the material we want to make active.
Usage:
await modelApi.setActiveMaterial('Adjustable Headband', 'White');