Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
Include |
#include "GameFramework/Actor.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Actor.cpp |
AActor * GetAttachParentActor() const
Walk up the attachment chain from RootComponent until we encounter a different actor, and return it. If we are not attached to a component in a different actor, returns nullptr