getMaterialSlotName
getMaterialSlotName
Description
Returns the shapes slot name for the material at the given index.
Definition
getMaterialSlotName(entityId shapeId, integer materialIndex)
Arguments
| entityId | shapeId | shapeId |
|---|---|---|
| integer | materialIndex | material index of shape, starting at 0 |
Return Values
| string | slotName | slotName |
|---|