Skip to main content
Skip to main content

setMaterialSlotName

setMaterialSlotName

Description

Sets the shapes slot name for the material at the given index.

Definition

setMaterialSlotName(entityId shapeId, integer materialIndex, string slotName)

Arguments

entityIdshapeIdshapeId
integermaterialIndexmaterial index of shape, starting at 0
stringslotNameslotName for the material at the given index or an empty string to remove the slot name