Constructor MaterialSet
MaterialSet(VariantsManager, string, string, string, List<MaterialSwitch>)
Construct MaterialSet
Declaration
public MaterialSet(VariantsManager vm, string t, string sn, string vn, List<VariantsManager.MaterialSwitch> sl)
Parameters
Type | Name | Description |
---|---|---|
VariantsManager | vm | The variant manager hosting the switch |
string | t | The type name of the variant |
string | sn | The name of the switch that will be afected |
string | vn | The name of the variant that should be activated |
List<VariantsManager.MaterialSwitch> | sl | All switches available in this model (the switch will be found by switch_name in this list) |