Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components > UActorComponent > GetOwner
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
Include | #include "Components/ActorComponent.h" |
UFUNCTION (BlueprintCallable, Category="Components", Meta=(Keywords="Actor Owning Parent"))
AActor * GetOwner() const
Remarks
Follow the Outer chain to get the AActor that 'Owns' this component