Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Follow the Outer chain to get the AActor that 'Owns' this component | Components/ActorComponent.h |
|
|
T * GetOwner () |
Templated version of GetOwner(), will return nullptr if cast fails | Components/ActorComponent.h |
GetOwner()
Description
Follow the Outer chain to get the AActor that 'Owns' this component
| Name | GetOwner |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
| Include Path | #include "Components/ActorComponent.h" |
UFUNCTION (BlueprintCallable, Category="Components", Meta=(Keywords="Actor Owning Parent"))
AActor * GetOwner() const
GetOwner()
Description
Templated version of GetOwner(), will return nullptr if cast fails
| Name | GetOwner |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
| Include Path | #include "Components/ActorComponent.h" |
template<class T>
T * GetOwner() const