Navigation
API > API/Runtime > API/Runtime/CoreUObject
Special container that can hold either UObject or FField. Exposes common interface of FFields and UObjects for easier transition from UProperties to FProperties. DO NOT ABUSE. IDEALLY THIS SHOULD ONLY BE FFIELD INTERNAL STRUCTURE FOR HOLDING A POINTER TO THE OWNER OF AN FFIELD.
| Name | FFieldVariant |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Field.h |
| Include Path | #include "UObject/Field.h" |
Syntax
class FFieldVariant
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFieldVariant
(
T&& InObject |
UObject/Field.h | ||
FFieldVariant
(
TYPE_OF_NULLPTR |
UObject/Field.h | ||
FFieldVariant
(
const FFieldVariant& Other |
UObject/Field.h | ||
FFieldVariant
(
FFieldVariant&& Other |
UObject/Field.h | ||
| UObject/Field.h | |||
FFieldVariant
(
const FField* InField |
UObject/Field.h |
Classes
| Name | Remarks |
|---|---|
| FFieldObjectUnion |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| UObjectMask | uintptr_t | UObject/Field.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Container | union FFieldVariant::FFieldObjectUnion | UObject/Field.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * Get() |
UObject/Field.h | ||
FString GetClassName() |
UObject/Field.h | ||
FName GetFName() |
UObject/Field.h | ||
FString GetFullName() |
UObject/Field.h | ||
FString GetName() |
UObject/Field.h | ||
UPackage * GetOutermost() |
UObject/Field.h | ||
UClass * GetOwnerClass() |
UObject/Field.h | ||
FFieldVariant GetOwnerVariant() |
UObject/Field.h | ||
FString GetPathName() |
UObject/Field.h | ||
void * GetRawPointer() |
UObject/Field.h | ||
bool HasMetaData
(
const FName& Key |
UObject/Field.h | ||
bool IsA
(
const FFieldClass* InClass |
UObject/Field.h | ||
| UObject/Field.h | |||
bool IsA () |
UObject/Field.h | ||
bool IsNative() |
UObject/Field.h | ||
bool IsUObject() |
UObject/Field.h | ||
bool IsValid() |
UObject/Field.h | ||
bool IsValidLowLevel() |
UObject/Field.h | ||
FField * ToField() |
UObject/Field.h | ||
FField * ToFieldUnsafe() |
FOR INTERNAL USE ONLY: Function that returns the owner as FField without checking if it's actually an FField | UObject/Field.h | |
UObject * ToUObject() |
UObject/Field.h | ||
UObject * ToUObjectUnsafe() |
FOR INTERNAL USE ONLY: Function that returns the owner as UObject without checking if it's actually a UObject | UObject/Field.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
UObject/Field.h | ||
bool operator!=
(
const FFieldVariant& Other |
UObject/Field.h | ||
FFieldVariant & operator=
(
const FFieldVariant& Other |
UObject/Field.h | ||
FFieldVariant & operator=
(
FFieldVariant&& Other |
UObject/Field.h | ||
bool operator==
(
const FFieldVariant& Other |
UObject/Field.h |