UVariantSet

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

VariantManagerContent

Header

/Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/VariantSet.h

Include

#include "VariantSet.h"

Syntax

UCLASS(BlueprintType)
class UVariantSet : public UObject

Constructors

Name Description

Public function

UVariantSet

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddVariants

(
    const TArray< UVariant* >& Ne...,
    int32 Index
)

Public function Const UFunction BlueprintPure, Category

FText

 

GetDisplayText()

Public function Const UFunction BlueprintPure, Category

int32

 

GetNumVariants()

Public function UFunction BlueprintPure, Category

ULevelVarian...

 

GetParent()

Public function UFunction BlueprintCallable, Category

UTexture2D &...

 

GetThumbnail()

Gets the thumbnail currently used for this variant set.

Public function Const

FString

 

GetUniqueVariantName

(
    const FString& InPrefix
)

Public function UFunction BlueprintPure, Category

UVariant ...

 

GetVariant

(
    int32 VariantIndex
)

Public function UFunction BlueprintPure, Category

UVariant ...

 

GetVariantByName

(
    FString VariantName
)

Public function Const

int32

 

GetVariantIndex

(
    UVariant* Var
)

Public function Const

const TArray...

 

GetVariants()

Public function Const

bool

 

IsExpanded()

Sets whether this variant set is expanded or not when displayed in a variant manager

Public function

void

 

RemoveVariants

(
    const TArray< UVariant* >& In...
)

Public function UFunction BlueprintCallable, Category

void

 

SetDisplayText

(
    const FText& NewDisplayText
)

Public function

void

 

SetExpanded

(
    bool bInExpanded
)

Public function UFunction BlueprintCallable, Category, Meta

void

 

SetThumbnailFromCamera

(
    UObject* WorldContextObject,
    const FTransform& CameraTransform,
    float FOVDegrees,
    float MinZ,
    float Gamma
)

Public function UFunction BlueprintCallable, Category, Meta

void

 

SetThumbnailFromEditorViewport()

Sets the thumbnail from the active editor viewport. Doesn't do anything if the Editor is not available.

Public function UFunction BlueprintCallable, Category

void

 

SetThumbnailFromFile

(
    FString FilePath
)

Public function UFunction BlueprintCallable, Category

void

 

SetThumbnailFromTexture

(
    UTexture2D* NewThumbnail
)

Sets the thumbnail to use for this variant set. Can receive nullptr to clear it.

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Typedefs

Name

Description

FOnVariantSetChanged

Constants

Name

Description

OnThumbnailUpdated