Method GetVariantSelections
GetVariantSelections()
Returns a collection of VariantSetName -> ActiveVariantSelectionName, which represents the active variant selection at the prim associated with this behaviour.
Declaration
public Dictionary<string, string> GetVariantSelections()
Returns
Type | Description |
---|---|
Dictionary<string, string> |
Examples
If two sets with selections are modelingVariant=CupWithHandle and shadingVariant=BrightBlue, resulting in a bright blue cup with a handle. In this example, the selections dictionary would contain: { "modelingVariant" = "CupWithHandle", "shadingVariant" = "BrightBlue" }