unreal.InterchangeVariantSetNode
¶
- class unreal.InterchangeVariantSetNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterchangeBaseNode
Class to represent a set of variants.
C++ Source:
Plugin: Interchange
Module: InterchangeNodes
File: InterchangeVariantSetNode.h
- add_custom_dependency_uid(dependency_uid) bool ¶
Add the specified translated node’s unique ID to this VariantSet.
- get_custom_dependency_uid(index) str ¶
Retrieve the specified translated node’s unique ID for this VariantSet.
- Parameters:
index (int32) –
- Returns:
out_dependency_uid (str):
- Return type:
- get_custom_dependency_uid_count() int32 ¶
Retrieve the number of translated node’s unique IDs for this VariantSet.
- Return type:
int32
- get_custom_dependency_uids() Array[str] ¶
Retrieve all the translated node’s unique IDs for this VariantSet.
- get_custom_display_text() str or None ¶
Retrieve the text that is displayed in the UI for this VariantSet.
- Returns:
attribute_value (str):
- Return type:
str or None
- get_custom_variants_payload_key() str or None ¶
Get the payload key needed to retrieve the variants for this VariantSet.
- Returns:
payload_key (str):
- Return type:
str or None
- remove_custom_dependency_uid(dependency_uid) bool ¶
Remove the specified translated node’s unique ID from this VariantSet.