FBlueprintEditorUtils::FindLocalVariableIndex

Find the index of a local variable declared in this blueprint. Returns INDEX_NONE if not found.

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 int32 FindLocalVariableIndex
(
    const UBlueprint * Blueprint,
    UStruct * VariableScope,
    const FName & InVariableName
)

Remarks

Find the index of a local variable declared in this blueprint. Returns INDEX_NONE if not found.

Returns

The index of the variable, or INDEX_NONE if it wasn't introduced in this blueprint.

Parameters

Parameter

Description

VariableScope

Struct of owning function.

InVariableName

Name of the variable to find.

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