Import variants



Material variants


VRED material variants are imported if the “Import variants” checkbox is checked. Otherwise, the default assigned materials are imported. If selected, the material variants are selectable by script in the Variants Manager component on the root of the imported model.



       



Access material switches in the MaterialSwitchList in the VariantsManager component.


Transform variants


VRED transform variants are imported if the “Import variants” checkbox is checked. Otherwise, the default selected variants are imported. If selected, a 150% model will appear in the Unity Editor. 

At runtime, the Variants Manager component will handle the display of only one Transform Variant at a time. 



Access transform switches and select them by script in the TransformSwitchList in the VariantsManager component.


Related topics