Represents a slot within a product that may allow material customization.
What does it unlock?
Represents a material slot on a component or environment — a customizable surface.
Practical Application
Material slot on a component or environment — represents a customizable surface. Each slot has an id
(used in SetComponentMaterial/SetEnvironmentMaterial) and a list of available materials.
Use to build per-surface material pickers.
AI Coding Best Practices
Access slot definitions from component or environment data in the envelope. Each slot's id is the slotId
parameter for SetComponentMaterial or SetEnvironmentMaterial. Iterate slot.enabledMaterials to build
the swatch picker for that specific surface.
Represents a slot within a product that may allow material customization.
What does it unlock?
Represents a material slot on a component or environment — a customizable surface.
Practical Application
Material slot on a component or environment — represents a customizable surface. Each slot has an id (used in SetComponentMaterial/SetEnvironmentMaterial) and a list of available materials. Use to build per-surface material pickers.
AI Coding Best Practices
Access slot definitions from component or environment data in the envelope. Each slot's id is the slotId parameter for SetComponentMaterial or SetEnvironmentMaterial. Iterate slot.enabledMaterials to build the swatch picker for that specific surface.