Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h |
Include |
#include "Components/SceneComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/SceneComponent.cpp |
AActor * GetAttachmentRootActor() const
Walks up the attachment chain from this SceneComponent and returns the top-level actor it's attached to. Returns Owner if unattached.