Navigation
API > API/Plugins > API/Plugins/VariantManagerContent
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVariantSet
References
| Module | VariantManagerContent |
| Header | /Engine/Plugins/Enterprise/VariantManagerContent/Source/VariantManagerContent/Public/VariantSet.h |
| Include | #include "VariantSet.h" |
Syntax
UCLASS&40;BlueprintType&41;
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 | 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. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
| Name | Description |
|---|---|
| FOnVariantSetChanged |
Constants
| Name | Description |
|---|---|
| OnThumbnailUpdated |