UK2Node_Variable::RemapRestrictedLinkReference

Remap a reference from one variable to another, if this variable is of class type 'MatchInVariableClass', and if linked to anything that is a child of 'RemapIfLinkedToClass'.

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Variable.h

Include

#include "K2Node_Variable.h"

Source

/Engine/Source/Editor/BlueprintGraph/Private/K2Node_Variable.cpp

Syntax

bool RemapRestrictedLinkReference
(
    FName OldVariableName,
    FName NewVariableName,
    const UClass * MatchInVariableClass,
    const UClass * RemapIfLinkedToClass,
    bool bLogWarning
)

Remarks

Remap a reference from one variable to another, if this variable is of class type 'MatchInVariableClass', and if linked to anything that is a child of 'RemapIfLinkedToClass'. Only intended for versioned fixup where redirects can't be applied.

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