IDatasmithActorElement::GetParentActor

Get the parent actor of the Actor element, returns invalid [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr) if the Actor is directly under the scene root

Choose your operating system:

Windows

macOS

Linux

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h

Include

#include "IDatasmithSceneElements.h"

Syntax

const TSharedPtr< IDatasmithActorElement > & GetParentActor() const

Remarks

Get the parent actor of the Actor element, returns invalid TSharedPtr if the Actor is directly under the scene root