Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ACharacter
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * FindComponentByClass () |
GameFramework/Character.h | ||
virtual UActorComponent * FindComponentByClass
(
const TSubclassOf< UActorComponent > ComponentClass |
Searches components array and returns first encountered component of the specified class, native version of GetComponentByClass | GameFramework/Character.h |
FindComponentByClass()
| Name | FindComponentByClass |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h |
| Include Path | #include "GameFramework/Character.h" |
template<class T>
T * FindComponentByClass() const
FindComponentByClass(const TSubclassOf< UActorComponent >)
Description
Searches components array and returns first encountered component of the specified class, native version of GetComponentByClass
| Name | FindComponentByClass |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h |
| Include Path | #include "GameFramework/Character.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Character.cpp |
virtual UActorComponent * FindComponentByClass
(
const TSubclassOf < UActorComponent > ComponentClass
) const