Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/ObjectElements > API/Plugins/DatasmithImporter/ObjectElements/UDatasmithSceneElementBase
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 |
UFUNCTION (BlueprintCallable, Category="Datasmith | Scene")
void AttachActorToSceneRoot
(
UDatasmithActorElement * NewParent,
EDatasmithActorAttachmentRule AttachmentRule
)
Remarks
Attach the actor to the scene root. Detach the actor if it was already attached.