FBlueprintEditorUtils::ChangeLocalVariableType

Changes the type of a local 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 ChangeLocalVariableType
(
    UBlueprint * InBlueprint,
    const UStruct * InScope,
    const FName InVariableName,
    const FEdGraphPinType & InNewPinType
)

Remarks

Changes the type of a local variable

Parameters

Parameter

Description

InBlueprint

Blueprint to search for the local variable

InScope

Local variable's scope

InVariableName

Name of the local variable to change the type of

InNewPinType

The pin type to change the local variable type 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