Language:
Discover
By Skill Level
By Category

USceneComponent::GetAttachmentRootActor

Choose your OS:

Syntax

AActor * GetAttachmentRootActor()

Remarks

Walks up the attachment chain from this SceneComponent and returns the top-level actor it's attached to. Returns Owner if unattached.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp