Navigation
API > API/Runtime > API/Runtime/CoreUObject
This variable type provides safe access to a native interface pointer. The data class for this variable is FScriptInterface, and is exported to auto-generated script header files as a TScriptInterface.
| Name | FInterfaceProperty |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include Path | #include "UObject/UnrealType.h" |
Syntax
class FInterfaceProperty : public TProperty< FScriptInterface, FProperty >
Inheritance Hierarchy
- TInPropertyBaseClass → TProperty → FInterfaceProperty
- TPropertyTypeFundamentals → TProperty → FInterfaceProperty
- TProperty → FInterfaceProperty
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInterfaceProperty
(
FFieldVariant InOwner, |
Constructor used for constructing compiled in properties | UObject/UnrealType.h | |
FInterfaceProperty
(
FFieldVariant InOwner, |
UObject/UnrealType.h | ||
FInterfaceProperty
(
EInternal InInernal, |
UObject/UnrealType.h | ||
FInterfaceProperty
(
UField* InField |
UObject/UnrealType.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | TProperty< FScriptInterface, FProperty > | UObject/UnrealType.h | |
| TCppType | TTypeFundamentals::TCppType | UObject/UnrealType.h | |
| ThisClass | FInterfaceProperty | UObject/UnrealType.h | |
| TTypeFundamentals | Super::TTypeFundamentals | UObject/UnrealType.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InterfaceClass | TObjectPtr< class UClass > | The native interface class that this interface property refers to | UObject/UnrealType.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
UObject/UnrealType.h | ||
virtual void AppendSchemaHash
(
FBlake3& Builder, |
Updates the given HashBuilder with name and type information of this Property. | UObject/UnrealType.h | |
virtual void BeginDestroy() |
UObject/UnrealType.h | ||
virtual bool ContainsObjectReference
(
TArray< const FStructProperty* >& EncounteredStructProps, |
Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a UObject reference. | UObject/UnrealType.h | |
virtual void EmitReferenceInfo
(
UE::GC::FSchemaBuilder& Schema, |
Emits tokens used by realtime garbage collection code to passed in ReferenceTokenStream. | UObject/UnrealType.h | |
virtual FString GetCPPMacroType
(
FString& ExtendedTypeText |
Returns the text to use for exporting this property to header file. | UObject/UnrealType.h | |
virtual SIZE_T GetFieldSize() |
UObject/UnrealType.h | ||
virtual bool Identical
(
const void* A, |
Determines whether the property values are identical. | UObject/UnrealType.h | |
virtual bool NetSerializeItem
(
FArchive& Ar, |
UObject/UnrealType.h | ||
virtual void PostDuplicate
(
const FField& InField |
Fixups after duplicating a Field | UObject/UnrealType.h | |
virtual bool SameType
(
const FProperty* Other |
Returns true, if Other is property of exactly the same type | UObject/UnrealType.h | |
virtual void Serialize
(
FArchive& Ar |
Manipulates the data referenced by this FProperty | UObject/UnrealType.h | |
virtual void SerializeItem
(
FStructuredArchive::FSlot Slot, |
UObject/UnrealType.h | ||
void SetInterfaceClass
(
UClass* NewInterfaceClass |
Setter function for this property's InterfaceClass member. | UObject/UnrealType.h | |
virtual bool SupportsNetSharedSerialization() |
UObject/UnrealType.h |
Overridden from TProperty
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetCPPType
(
FString* ExtendedTypeText, |
Returns the text to use for exporting this property to header file. | UObject/UnrealType.h | |
virtual void LinkInternal
(
FArchive& Ar |
UObject/UnrealType.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ExportText_Internal
(
FString& ValueStr, |
UObject/UnrealType.h | ||
virtual const TCHAR * ImportText_Internal
(
const TCHAR* Buffer, |
UObject/UnrealType.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UE_API FField * Construct
(
const FFieldVariant& InOwner, |
UObject/UnrealType.h | ||
static UE_API FFieldClass * StaticClass() |
UObject/UnrealType.h | ||
static uint64 StaticClassCastFlags() |
UObject/UnrealType.h | ||
static uint64 StaticClassCastFlagsPrivate() |
UObject/UnrealType.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void operator delete
(
void* InMem |
UObject/UnrealType.h | ||
void * operator new
(
const size_t InSize, |
UObject/UnrealType.h | ||
void * operator new
(
const size_t InSize |
UObject/UnrealType.h | ||
FInterfaceProperty & operator=
(
const FInterfaceProperty& |
UObject/UnrealType.h | ||
| UObject/UnrealType.h |