add_get_variant_sets_node
Adds a Get Variant Sets node to a Blueprint to retrieve all Variant Sets from a Level Variant Sets asset, enabling iteration for UI generation.
Instructions
Add a GetVariantSets node to get all Variant Sets in a Level Variant Sets asset.
From Ch. 20: Used in BP_Configurator to iterate over all Variant Sets and generate tab-style category buttons for each set.
Args: blueprint_name: Blueprint to add the node to lvs_variable: Level Variant Sets variable name node_position: [X, Y] graph position
KB: see knowledge_base/17_GAME_SYSTEMS_COOKBOOK.md#overview Example: add_get_variant_sets_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lvs_variable | No | LevelVariantSets | |
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |