# The Variant Attributes Node


Maya Node Type → DAG Node
Maya Node NamemvUsdVariantAttributes


This node is created in the process of authoring Attribute Variants on either Maya data (supported Maya shapes and transforms) and on USD data (Multiverse Compounds).

Depending on where the variants are authored (on Maya data in shape nodes or on USD data in Compounds) this node may hold different attributes, either for Variant selection or for Variant Attributes, or for both: in all cases they are added dynamically.

There are two possible node networks:

  • When authored on Maya data:

    mvUsdVariantAttributes   -->   Maya Shape/Transform node
    (for variant attributes)       (for variant selection)
    
    1
    2
  • When authored on USD Data in Compounds:

    mvUsdVariantAttributes   --> mvUsdVariantAttributes  -->  Compound Shape node
    (for variant attributes)     (for variant selection)
    
    1
    2

Please refer to the variant documentation

Examples for how the UI may look for:

  • VariantSet:

  • Attribute Variant Nodes:

  • USD Attributes:

# Reference

Section Parameter Description
VariantSets VariantSet Name The VariantSet name.
VariantSet Default The, optional, default value.
Attribute Variant Nodes VariantSet Target The VariantSet of choice for this variant.
Variant Name The name of the Variant.
Attribute Node The node where the USD attributes of the variant will be held.
USD Attributes Variant Set Target The Variant Set of choice for this variant.
Attribute Name The name of the attribute. You can use the `primvar:` prefix to fetch the attribute in a shading network with a a primitive variable reader node for your rendering of choice.
Attribute Type The USD type for the attribute.
Int Value The desired value: applies to the Int type.
Float Value The desired value: applies to the Float type.
String Value The desired value: applies to the String type.
Color Value The desired value: applies to the Color type.
Last Updated: 3/1/2022, 6:19:14 PM