IDatasmithScene::AttachActor

Attach the actor to his new parent. Detach the actor if he was already attach.

Choose your operating system:

Windows

macOS

Linux

References

Module

DatasmithCore

Header

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

Include

#include "IDatasmithSceneElements.h"

Syntax

void AttachActor
(
    const TSharedPtr< IDatasmithActorElement > & NewParent,
    const TSharedPtr< IDatasmithActorElement > & Child,
    EDatasmithActorAttachmentRule AttachmentRule
)

Remarks

Attach the actor to his new parent. Detach the actor if he was already attach.