Navigation
API > API/Runtime > API/Runtime/CoreUObject
Base class of reflection data objects.
| Name | UField |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
Syntax
UCLASS (MinimalAPI, Abstract, Config=Engine)
class UField : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UField
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UField
(
const FObjectInitializer& ObjectInitializer |
Constructors. | UObject/Class.h | |
UField
(
EStaticConstructor, |
UObject/Class.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UField() |
UObject/Class.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BaseFieldClass | UField | UObject/Class.h | |
| FieldTypeClass | UClass | UObject/Class.h | |
| FLinkedListBuilder | TObjectPtrLinkedListBuilder< UField > | UObject/Class.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Next | TObjectPtr< UField > | Next Field in the linked list | UObject/Class.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddCppProperty
(
FProperty* Property |
UObject/Class.h | ||
virtual void Bind() |
UObject/Class.h | ||
const FString * FindMetaData
(
const FName& Key |
UObject/Class.h | ||
const FString * FindMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key | UObject/Class.h | |
virtual FField * GetAssociatedFField() |
Gets the FField object associated with this Field | UObject/Class.h | |
| Returns a human readable string that was assigned to this field at creation. | UObject/Class.h | ||
bool GetBoolMetaData
(
const FName& Key |
UObject/Class.h | ||
bool GetBoolMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return bool | UObject/Class.h | |
UClass * GetClassMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return Class | UObject/Class.h | |
UClass * GetClassMetaData
(
const FName& Key |
UObject/Class.h | ||
FText GetDisplayNameText() |
Finds the localized display name or native display name as a fallback. | UObject/Class.h | |
float GetFloatMetaData
(
const FName& Key |
UObject/Class.h | ||
float GetFloatMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return float | UObject/Class.h | |
int32 GetIntMetaData
(
const FName& Key |
UObject/Class.h | ||
int32 GetIntMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return int32 | UObject/Class.h | |
const FString & GetMetaData
(
const FName& Key |
UObject/Class.h | ||
const FString & GetMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key | UObject/Class.h | |
FText GetMetaDataText
(
const FName& MetaDataKey, |
UObject/Class.h | ||
FText GetMetaDataText
(
const TCHAR* MetaDataKey, |
Find the metadata value associated with the key and localization namespace and key | UObject/Class.h | |
UClass * GetOwnerClass() |
Goes up the outer chain to look for a UClass | UObject/Class.h | |
UStruct * GetOwnerStruct() |
Goes up the outer chain to look for a UStruct | UObject/Class.h | |
FText GetToolTipText
(
bool bShortTooltip |
Finds the localized tooltip or native tooltip as a fallback. | UObject/Class.h | |
bool HasAllCastFlags
(
const uint64 InCastFlags |
UObject/Class.h | ||
bool HasAnyCastFlags
(
const uint64 InCastFlags |
UObject/Class.h | ||
bool HasMetaData
(
const TCHAR* Key |
Determines if the property has any metadata associated with the key | UObject/Class.h | |
bool HasMetaData
(
const FName& Key |
UObject/Class.h | ||
void RemoveMetaData
(
const TCHAR* Key |
Clear any metadata associated with the key | UObject/Class.h | |
void RemoveMetaData
(
const FName& Key |
UObject/Class.h | ||
virtual void SetAssociatedFField
(
FField* InField |
Sets the FField object associated with this Field | UObject/Class.h | |
void SetMetaData
(
const TCHAR* Key, |
Sets the metadata value associated with the key | UObject/Class.h | |
void SetMetaData
(
const FName& Key, |
UObject/Class.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool NeedsLoadForClient () |
Called during saving to determine the load flags to save with the object. | UObject/Class.h | |
virtual bool NeedsLoadForServer () |
Called during saving to determine the load flags to save with the object. | UObject/Class.h | |
virtual void PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | UObject/Class.h | |
| Handles reading, writing, and reference collecting using FArchive. | UObject/Class.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void FormatNativeToolTip
(
FString& ToolTipString, |
Formats a source comment into the form we want to show in the editor, is used by GetToolTipText and anything else that will get a native tooltip | UObject/Class.h |