Defines the structure for a mapping of selected materials.
What does it unlock?
Type alias representing selected component/item IDs. Used to track which entities are currently selected.
Practical Application
Record type (key-value map) tracking currently selected IDs. Found in componentMaterialsIds and
environmentMaterialsIds of ModularConfiguratorEnvelope. Maps slot or type keys to selected
material/component UUIDs.
AI Coding Best Practices
Access from configuratorDataUpdated envelope. Use componentMaterialsIds to mark 'active/selected'
state on material swatches in your UI. Use componentsByComponentType to highlight which component
is selected per category. Both update on every state change.
Defines the structure for a mapping of selected materials.
What does it unlock?
Type alias representing selected component/item IDs. Used to track which entities are currently selected.
Practical Application
Record type (key-value map) tracking currently selected IDs. Found in componentMaterialsIds and environmentMaterialsIds of ModularConfiguratorEnvelope. Maps slot or type keys to selected material/component UUIDs.
AI Coding Best Practices
Access from configuratorDataUpdated envelope. Use componentMaterialsIds to mark 'active/selected' state on material swatches in your UI. Use componentsByComponentType to highlight which component is selected per category. Both update on every state change.