![Table of Content Table of Content](..\images\general\toc.png)
Table Of Content
![Modular Kitchen Quick Start And Overview ../images/architecture/2024/kitchen/thumbs/01.jpg](../images/architecture/2024/kitchen/thumbs/01.jpg)
Overview
![Modular Kitchen Builder ../images/architecture/2022/kitchen/thumbs/01.jpg](../images/architecture/2022/kitchen/thumbs/01.jpg)
Reference
![Kitchen Builder Swap Actor ../images/architecture/2024/kitchen-swaps/thumbs/01.jpg](../images/architecture/2024/kitchen-swaps/thumbs/01.jpg)
Swap Actor
![Kitchen Builder Tips And FAQ ../images/architecture/2022/kitchenfaq/thumbs/01.jpg](../images/architecture/2022/kitchenfaq/thumbs/01.jpg)
Tips & FAQ
![Kitchen Builder Step By Step ../images/architecture/2022/steps/thumbs/12.jpg](../images/architecture/2022/steps/thumbs/12.jpg)
Step by Step
![Customization And Materials ../images/architecture/2024/custom/thumbs/04.jpg](../images/architecture/2024/custom/thumbs/04.jpg)
Customize
![Kitchen Builder Change List ../images/architecture/2024/kitchenchange/thumbs/02.jpg](../images/architecture/2024/kitchenchange/thumbs/02.jpg)
Change list
Kitchen Builder Swap Actor
The BP_KitchenBuilder_SwapActor allows you to change materials in run time.
It lives in the Content / ModularKitchen / Blueprints folder.
This page describes how to connect the ArchVizUI3 interface with the Modular Kitchen Builder.
Content:
Overview
There are 2 actors needed if you want to swap materials from with in the ArchVizUI3 interface:BP_ModularKitchen_SwapActor
Content / ModularKitchen / Blueprints
This actor defines what part of the kitchen will be changed and contains all the Variations (Materials).
BP_SDotUI3_Variations
Content / ArchVizUI_V3 / UI / Blueprints
This is the actor that connects to the user interface. It contains all variation names. The yellow collision box provides something the user can click on.
Link
- The Kitchen Swap Actor is linked to the kitchen via the BP Kitchen array variable.
- The Kitchen Swap Actor and the Variation Actor are linked by having the same Tag name.
- All actors need to be in the same level.
![image 01.jpg image](../images/architecture/2024/kitchen-swaps/01.jpg)
Using the Kitchen Swap Actor
Only Materials can be changed at the moment! The blueprint will get some necessary changes soon to allow mesh changes. Meanwhile please ignore the settings for other than material changes.- Place the BP_KitchenBuilder_SwapActor into the same level as the kitchen blueprint next to the kitchen part you want to get changed.
- Add an element to the BP Kitchen array for each kitchen you want to connect. Use the Eye Dropper to connect the kitchen.
- Add a unique name as the Tag. Use the same tag name in the Variation Actor.
- Add an element to the Material Variations array, choose the Material Type, and add the Material Variations.
Tips
- More than one Kitchen Blueprint can be connected to the Swap Actor.
- You can add more than one Variations array element. You can change the bench and the cabinet material at the same time
- Swap Actors with the same Tag name will be activated at the same time.
- Variations Actors with the same Tag name will activate the same Kitchen Swap Actor.
![image 03c.jpg image](../images/architecture/2024/kitchen-swaps/03c.jpg)
Using the UI3 Variation Actor
- Place the UI3 Variations Actor next to the Kitchen Swap Actor.
- Tick the boxes for Parent Only and Call Interface. A yellow collision box will appear
- Use Box Scale 3D and Box Location to align the collision box with the kitchen part that can be changed.
- Enter a List Name that will appear in the interface.
- Add a Variation Name for each material that can be changed and that you added to the Kitchen Swap Actor.
Tips:
- You can use more than one Variation Actor if you need more than one collision box. Duplicate the actor and move the collision box to the 2nd desired area.
![image 05c.jpg image](../images/architecture/2024/kitchen-swaps/05c.jpg)
Under the Hood
Variations Actor and Kitchen Swap Actor are using the same array IDs.- The user clicks on the variation name "Dark Grey" with the index [1]
- The BPI_UI3_Interaction is called with the Change index [1] from the variation actor.
- The function Change to ID is executed inside the Swap Actor.
- The Swap Actor sets the material with index [1] to the meshes of the type (bench, or cabinets) in the kitchen blueprints that are connected to it
![image 07c.png image](../images/architecture/2024/kitchen-swaps/07c.png)
![](../images/general/top.png)