FMemberReference::FindRemappedField

Searches the field redirect map for the specified named field in the scope, and returns the remapped field if found

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/MemberReference.h

Include

#include "Engine/MemberReference.h"

Source

/Engine/Source/Runtime/Engine/Private/MemberReference.cpp

Syntax

static FField * FindRemappedField
(
    FFieldClass * FieldClass,
    UClass * InitialScope,
    FName InitialName,
    bool bInitialScopeMustBeOwnerOfField
)

Remarks

Searches the field redirect map for the specified named field in the scope, and returns the remapped field if found

Returns

The remapped field, if one exists

Parameters

Parameter

Description

FieldClass

UClass of field type we are looking for

InitialScope

The scope the field was initially defined in. The function will search up into parent scopes to attempt to find remappings

InitialName

The name of the field to attempt to find a redirector for

bInitialScopeMustBeOwnerOfField

if true the InitialScope must be Child of the field's owner

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