Navigation
Unreal Engine C++ API Reference > Plugins > VariantManagerContent
Inheritance Hierarchy
- UObject
- UVariantSet
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
Type | Name | Description | |
---|---|---|---|
![]() |
UVariantSet
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddVariants
(
const TArray< UVariant* >& NewVariants, |
|
![]() ![]() ![]() ![]() |
FText | ||
![]() ![]() ![]() ![]() |
int32 | ||
![]() ![]() ![]() |
ULevelVariantSets * | GetParent () |
|
![]() ![]() ![]() |
UTexture2D * | GetThumbnail () |
Gets the thumbnail currently used for this variant set. |
![]() ![]() |
FString | GetUniqueVariantName
(
const FString& InPrefix |
|
![]() ![]() ![]() |
UVariant * | GetVariant
(
int32 VariantIndex |
|
![]() ![]() ![]() |
UVariant * | GetVariantByName
(
FString VariantName |
|
![]() ![]() |
int32 | GetVariantIndex
(
UVariant* Var |
|
![]() ![]() |
const TArray< UVariant * > & | GetVariants () |
|
![]() ![]() |
bool | IsExpanded () |
Sets whether this variant set is expanded or not when displayed in a variant manager |
![]() |
void | RemoveVariants
(
const TArray< UVariant* >& InVariants |
|
![]() ![]() |
void | Serialize
(
FArchive& Ar |
|
![]() ![]() ![]() |
void | SetDisplayText
(
const FText& NewDisplayText |
|
![]() |
void | SetExpanded
(
bool bInExpanded |
|
![]() ![]() ![]() |
void | SetThumbnailFromCamera
(
UObject* WorldContextObject, |
|
![]() ![]() ![]() |
void | Sets the thumbnail from the active editor viewport. Doesn't do anything if the Editor is not available. | |
![]() ![]() ![]() |
void | SetThumbnailFromFile
(
FString FilePath |
|
![]() ![]() ![]() |
void | SetThumbnailFromTexture
(
UTexture2D* NewThumbnail |
Sets the thumbnail to use for this variant set. Can receive nullptr to clear it. |
Typedefs
Name | Description |
---|---|
FOnVariantSetChanged |
Constants
Name | Description |
---|---|
OnThumbnailUpdated |