unreal.InterchangeVariantSetNode

class unreal.InterchangeVariantSetNode(outer: Optional[Object] = None, name: Union[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 one translated node’s unique id to this VariantSet.

Parameters:

dependency_uid (str) –

Return type:

bool

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:

str

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.

Returns:

out_dependency_uids (Array[str]):

Return type:

Array[str]

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.

Parameters:

dependency_uid (str) –

Return type:

bool

set_custom_display_text(attribute_value) bool

This function allow to set the text to be displayed in the UI for this VariantSet.

Parameters:

attribute_value (str) –

Return type:

bool

set_custom_variants_payload_key(payload_key) bool

Set the payload key needed to retrieve the variants for this VariantSet.

Parameters:

payload_key (str) –

Return type:

bool