Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AActor
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * FindComponentByInterface () |
Templatized version of FindComponentByInterface that handles casting for you | GameFramework/Actor.h | |
T * FindComponentByInterface () |
Templatized version of FindComponentByInterface that handles casting for you | GameFramework/Actor.h | |
virtual UActorComponent * FindComponentByInterface
(
const TSubclassOf< UInterface > Interface |
Searches components array and returns first encountered component that implements the given interface. | GameFramework/Actor.h |
FindComponentByInterface()
Description
Templatized version of FindComponentByInterface that handles casting for you
| Name | FindComponentByInterface |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
template<class T, std::enable_if_t<< T, UInterface >::Value ), int >>
T * FindComponentByInterface() const
FindComponentByInterface()
Description
Templatized version of FindComponentByInterface that handles casting for you
| Name | FindComponentByInterface |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
template<class T, std::enable_if_t<< T >::Value ), int >>
T * FindComponentByInterface() const
FindComponentByInterface(const TSubclassOf< UInterface >)
Description
Searches components array and returns first encountered component that implements the given interface.
| Name | FindComponentByInterface |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Actor.cpp |
virtual UActorComponent * FindComponentByInterface
(
const TSubclassOf < UInterface > Interface
) const