Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMemberReference
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TFieldType * FindRemappedField
(
UClass* InitialScope, |
Templated version of above, extracts FieldClass and Casts result | Engine/MemberReference.h | |
static UField * FindRemappedField
(
UClass* FieldClass, |
Searches the field redirect map for the specified named field in the scope, and returns the remapped field if found | Engine/MemberReference.h | |
static FField * FindRemappedField
(
FFieldClass* FieldClass, |
Engine/MemberReference.h |
FindRemappedField(UClass *, FName, bool)
Description
Templated version of above, extracts FieldClass and Casts result
| Name | FindRemappedField |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/MemberReference.h |
| Include Path | #include "Engine/MemberReference.h" |
template<class TFieldType>
static TFieldType * FindRemappedField
(
UClass * InitialScope,
FName InitialName,
bool bInitialScopeMustBeOwnerOfFieldForParentScopeRedirect
)
FindRemappedField(UClass , UClass , FName, bool)
Description
Searches the field redirect map for the specified named field in the scope, and returns the remapped field if found
| Name | FindRemappedField |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/MemberReference.h |
| Include Path | #include "Engine/MemberReference.h" |
| Source | /Engine/Source/Runtime/Engine/Private/MemberReference.cpp |
static UField * FindRemappedField
(
UClass * FieldClass,
UClass * InitialScope,
FName InitialName,
bool bInitialScopeMustBeOwnerOfFieldForParentScopeRedirect
)
The remapped field, if one exists
Parameters
| Name | Remarks |
|---|---|
| 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 |
| bInitialScopeMustBeOwnerOfFieldForParentScopeRedirect | If true, and a redirect is found in a parent scope, and the targetscope of the redirect is a child scope of the parent scope that is not the initial scope or a parent of the initial scope, then the redirect will be ignored. |
FindRemappedField(FFieldClass , UClass , FName, bool)
| Name | FindRemappedField |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/MemberReference.h |
| Include Path | #include "Engine/MemberReference.h" |
| Source | /Engine/Source/Runtime/Engine/Private/MemberReference.cpp |
static FField * FindRemappedField
(
FFieldClass * FieldClass,
UClass * InitialScope,
FName InitialName,
bool bInitialScopeMustBeOwnerOfFieldForParentScopeRedirect
)