UDatasmithSceneElementBase::AttachActorToSceneRoot

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

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUSceneElement.h

Include

#include "ObjectElements/DatasmithUSceneElement.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/ObjectElements/DatasmithUSceneElement.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Datasmith | Scene")
void AttachActorToSceneRoot
(
    UDatasmithActorElement * NewParent,
    EDatasmithActorAttachmentRule AttachmentRule
)

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss