UVariantManagerBlueprintLibrary::RemoveVariantSetByName

Looks for a variant set with VariantSetName within LevelVariantSets and removes it, if it exists.

Choose your operating system:

Windows

macOS

Linux

References

Module

VariantManager

Header

/Engine/Plugins/Enterprise/VariantManager/Source/VariantManager/Public/VariantManagerBlueprintLibrary.h

Include

#include "VariantManagerBlueprintLibrary.h"

Source

/Engine/Plugins/Enterprise/VariantManager/Source/VariantManager/Private/VariantManagerBlueprintLibrary.cpp

Syntax

UFUNCTION(BlueprintCallable, Meta=(ScriptMethod), Category="VariantManager")
static void RemoveVariantSetByName
(
    ULevelVariantSets * LevelVariantSets,
    const FString & VariantSetName
)

Remarks

Looks for a variant set with VariantSetName within LevelVariantSets and removes it, if it exists.