IDatasmithScene::AttachActorToSceneRoot

Attach the actor to the scene root. 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 AttachActorToSceneRoot
(
    const TSharedPtr< IDatasmithActorElement > & Child,
    EDatasmithActorAttachmentRule AttachmentRule
)

Remarks

Attach the actor to the scene root. Detach the actor if he was already attach.