unreal.InterchangeVariantSetNode¶
- class unreal.InterchangeVariantSetNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterchangeBaseNodeClass to represent a set of variants
C++ Source:
Plugin: Interchange
Module: InterchangeNodes
File: InterchangeVariantSetNode.h
- add_custom_dependency_uid(dependency_uid) bool¶
Add one translated node’s unique id to this VariantSet.
- get_custom_dependency_uid(index) str¶
This function allow to retrieve a specific translated node’s unique id for this VariantSet.
- Parameters:
index (int32) –
- Returns:
out_dependency_uid (str):
- Return type:
- get_custom_dependency_uid_count() int32¶
This function allow to retrieve the number of translated node’s unique ids for this VariantSet.
- Return type:
int32
- get_custom_dependency_uids() Array[str]¶
This function allow to retrieve all the translated node’s unique ids for this VariantSet.
- get_custom_display_text() str or None¶
This function allow to retrieve the text which 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 one translated node’s unique id from this VariantSet.