unreal.InterchangeSceneVariantSetsNode

class unreal.InterchangeSceneVariantSetsNode(outer: Object | None = None, name: Name | str = 'None')

Bases: InterchangeBaseNode

Class to represent a set of VariantSet nodes

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeVariantSetNode.h

add_custom_variant_set_uid(variant_uid) bool

Add the specified VariantSet’s unique id to this object.

Parameters:

variant_uid (str) –

Return type:

bool

get_custom_variant_set_uid(index) str

Retrieve the specified VariantSet’s unique id for this object.

Parameters:

index (int32) –

Returns:

out_variant_uid (str):

Return type:

str

get_custom_variant_set_uid_count() int32

Retrieve the number of VariantSets for this object.

Return type:

int32

get_custom_variant_set_uids() Array[str]

Retrieve all the VariantSets’ unique ids for this object.

Returns:

out_variant_uids (Array[str]):

Return type:

Array[str]

remove_custom_variant_set_uid(variant_uid) bool

Remove the specified VariantSet’s unique id from this object.

Parameters:

variant_uid (str) –

Return type:

bool