unreal.DatasmithLevelVariantSetsElement

class unreal.DatasmithLevelVariantSetsElement(outer=None, name='None')

Bases: unreal.DatasmithObjectElement

  • UDatasmithLevelVariantSetsElement

C++ Source:

  • Plugin: DatasmithImporter

  • Module: DatasmithImporter

  • File: DatasmithUObjectElements.h

add_variant_set(variant_set)None

Adds an existing variant set to this level variant sets

Parameters

variant_set (DatasmithVariantSetElement) –

create_variant_set(element_name)DatasmithVariantSetElement

Create a new variant set and add it to the parent level variant sets

Parameters

element_name (Name) –

Returns

Return type

DatasmithVariantSetElement

get_variant_set(index)DatasmithVariantSetElement

Gets a variant set from this level variant sets

Parameters

index (int32) –

Returns

Return type

DatasmithVariantSetElement

get_variant_sets_count()int32

Gets how many variant sets are in this level variant sets

Returns

Return type

int32

remove_variant_set(variant_set)None

Removes a variant set from this level variant sets

Parameters

variant_set (DatasmithVariantSetElement) –