Configurator with Variant
This direct integration with the configurators that the IdealTwin website offers so that the customer can make specific configurations of the house for further customization and save the configurations.
For more information see (Link to web configurator)
In the plugin we have implemented it directly with the Variant offered by the engine to be able to make visual variations in the level with the advantage of being able to obtain part of the information from the web.
🔧 Setting the configurator within the project
📥 Import the web configurator into the project
You can get the information directly from the configurator by importing it from the Unreal editor which will create an Asset.
Importar configuración desde web
🎨 Create the Variant to configure the level
The management of the options of the VariantSet
is performed by a specific IdealTwin class named IdealTwinLevelVariantSetActor
which has to be placed within the level you want to apply the configurator.
Crear Configurator con Variant
Variants not synchronized with web
Not only can the web configurator options be used in the options screen but also non-web configuration options can be made using the VariantSets
and the format to be read by the panel.
This gives more flexibility to be able to make visual only variants that are only in the project part of Unreal.
To include these non-synchronized variants, simply add in the VariantSet
a new set variant for using the parse nomenclature so that it is also read by the panel.

Reading Variants in the VariantSet
In order to synchronize the data between the Web and the VariantSet
The system has prepared a name reading system in order to be able to cross-reference the data between the tables.

The VariantSet
will contain elements named with a specific format so that when compared with the hierarchy of information coming from the web and put together in the panel.
FORMAT:
Space
.Group
Variant
Variant
...
This can be seen in the web configurator when managing the configurator where you can see the elements.

List of selected items

With the selection made both in the web part and in the Unreal application, a breakdown list is generated with the items to be included in the budget.
The settings will be saved in the user's profile automatically and updated.
Considerations
Even if there is a data update the VariantSets once the application is compiled will not be able to change object references or name changes so that the data can be cross-referenced at runtime.
The LevelVariantSetActor has as limitation that they are tied to a level with some Actors in concrete so they will not be able to be modified in execution time.
Only 1 configuration per level is supported. In order to have more configurations you would have to use multiple levels to manage the use of one or the other.