Navigation
API > API/Runtime > API/Runtime/Engine
A ComponentInterface Provider bridges an owner/container/implementer object to a ComponentInterface, many providers are allowed to exist for the same interface instance.
| Name | TComponentInterfaceProvider |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ComponentInterfaces.h |
| Include Path | #include "Components/ComponentInterfaces.h" |
Syntax
template<typename T>
struct TComponentInterfaceProvider
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TComponentInterfaceProvider
(
UClass* InClass, |
Components/ComponentInterfaces.h | ||
TComponentInterfaceProvider
(
UClass* InClass, |
Components/ComponentInterfaces.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Class | UClass * | Components/ComponentInterfaces.h | ||
| CollectionProvider | TFunction< TArray< T * >(UObject *)> | Components/ComponentInterfaces.h | ||
| Provider | TFunction< T *(UObject *)> | Components/ComponentInterfaces.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/ComponentInterfaces.h | |||
| Components/ComponentInterfaces.h | |||
static void Provides
(
UObject* SourceObject, |
Components/ComponentInterfaces.h |