FBlueprintEditorUtils::SetBlueprintVariableMetaData

Sets a metadata key/value on the specified variable

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Kismet2/BlueprintEditorUtils.h

Include

#include "Kismet2/BlueprintEditorUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Kismet2/BlueprintEditorUtils.cpp

Syntax

static void SetBlueprintVariableMetaData
(
    UBlueprint * Blueprint,
    const FName & VarName,
    const UStruct * InLocalVarScope,
    const FName & MetaDataKey,
    const FString & MetaDataValue
)

Remarks

Sets a metadata key/value on the specified variable

Parameters

Parameter

Description

Blueprint

The Blueprint to find the variable in

VarName

Name of the variable

InLocalVarScope

Local variable's scope, if looking to modify a local variable

MetaDataKey

Key name for the metadata to change

MetaDataValue

Value to change the metadata to

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss