![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ScriptInterface.h>
Inheritance diagram for TScriptInterface< InInterfaceType >:Public Types | |
| using | InterfaceType = InInterfaceType |
| using | UObjectType = TCopyQualifiersFromTo_T< InterfaceType, UObject > |
Friends | |
| FArchive & | operator<< (FArchive &Ar, TScriptInterface &Interface) |
Additional Inherited Members | |
Protected Member Functions inherited from FScriptInterface | |
| COREUOBJECT_API FArchive & | Serialize (FArchive &Ar, class UClass *InterfaceType) |
Templated version of FScriptInterface, which provides accessors and operators for referencing the interface portion of an object implementing an interface. This type is only useful with native interfaces, UClass::ImplementsInterface should be used to check for blueprint interfaces.
| using TScriptInterface< InInterfaceType >::InterfaceType = InInterfaceType |
| using TScriptInterface< InInterfaceType >::UObjectType = TCopyQualifiersFromTo_T<InterfaceType, UObject> |
|
default |
Default constructor
|
inline |
Construction from nullptr
|
inline |
Construction from an object type that may natively implement InterfaceType
|
inline |
Construction from another script interface of a compatible interface type
|
inline |
Assignment from an object type that may natively implement InterfaceType
|
default |
Copyable
|
inline |
Returns the pointer to the interface
|
inline |
Returns the ObjectPointer contained by this TScriptInterface
|
inline |
Returns the ObjectPointer contained by this TScriptInterface
|
inlineexplicit |
Boolean operator, returns true if this object natively implements InterfaceType. This will return false for objects that only implement the interface in blueprint classes.
|
inline |
|
inline |
|
inline |
|
inline |
Dereference operator. Provides transparent access to the native interface pointer contained by this TScriptInterface
|
inline |
Member access operator. Provides transparent access to the native interface pointer contained by this TScriptInterface
|
default |
|
inline |
Assignment from another script interface of a compatible interface type
|
inline |
Assignment from an object type that may natively implement InterfaceType
|
inline |
Assignment from nullptr
|
inline |
Assignment from an object type that may natively implement InterfaceType
|
inline |
Comparison operator, taking a pointer to InterfaceType
|
inline |
Comparison operator, taking a reference to another TScriptInterface
|
inline |
Comparison operator, taking a nullptr
|
inline |
Sets the value of the InterfacePointer for this TScriptInterface
|
inline |
Sets the value of the ObjectPointer for this TScriptInterface
|
friend |