FBlueprintEditorUtils::DuplicateMemberVariable

Duplicates a variable from one Blueprint to another blueprint

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 FName DuplicateMemberVariable
(
    UBlueprint * InFromBlueprint,
    UBlueprint * InToBlueprint,
    FName InVariableToDuplicate
)

Remarks

Duplicates a variable from one Blueprint to another blueprint

Returns

Returns the name of the new variable or NAME_None if failed to duplicate

Parameters

Parameter

Description

InFromBlueprint

The Blueprint the variable can be found in

InToBlueprint

The Blueprint the new variable should be added to (can be the same blueprint)

InVariableToDuplicate

Variable name to be found and duplicated

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