FBlueprintEditorUtils::RenameVariableReferences

Looks through the specified blueprint for any references to the specified variable, and renames them accordingly.

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 RenameVariableReferences
(
    UBlueprint * Blueprint,
    UClass * VariableClass,
    const FName & OldVarName,
    const FName & NewVarName
)

Remarks

Looks through the specified blueprint for any references to the specified variable, and renames them accordingly.

Parameters

Parameter

Description

Blueprint

The blueprint that you want to search through.

VariableClass

The class that owns the variable that we're renaming

OldVarName

The current name of the variable we want to replace

NewVarName

The name that we wish to change all references 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