UDatasmithLevelVariantSetsElement

[UDatasmithLevelVariantSetsElement](API\Plugins\DatasmithImporter\ObjectElements\UDatasmithLevelVariantSetsElemen-)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h

Include

#include "ObjectElements/DatasmithUObjectElements.h"

Syntax

UCLASS()
class UDatasmithLevelVariantSetsElement : public UDatasmithObjectElement

Remarks

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

AddVariantSet

(
    const UDatasmithVariantSetElement&...
)

Adds an existing variant set to this level variant sets

Public function UFunction BlueprintCallable, Category

UDatasmithVa...

 

CreateVariantSet

(
    FName InElementName
)

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

Public function Const

TWeakPtr< ID...

 

GetLevelVariantSetsElement()

Public function UFunction BlueprintCallable, Category

UDatasmithVa...

 

GetVariantSet

(
    int32 Index
)

Gets a variant set from this level variant sets

Public function Const UFunction BlueprintCallable, Category

int32

 

GetVariantSetsCount()

Gets how many variant sets are in this level variant sets

Public function UFunction BlueprintCallable, Category

void

 

RemoveVariantSet

(
    const UDatasmithVariantSetElement&...
)

Removes a variant set from this level variant sets

Public function

void

 

SetLevelVariantSetsElement

(
    const TSharedPtr< IDatasmithLevelVa...
)

Overridden from UDatasmithObjectElement

Name Description

Protected function Virtual Const

TWeakPtr< ID...

 

GetIDatasmithElement()

TODO: They are not covariant because of the TWeakPtr, can't override in child.

Public function Virtual Const

bool

 

IsElementValid()

Is the Element still valid for the Datasmith Scene