Module |
|
Header |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImporter.h |
Include |
#include "DatasmithImporter.h" |
Source |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithImporter.cpp |
static void ImportActorAsComponent
(
FDatasmithImportContext & ImportContext,
const TSharedRef< IDatasmithActorElement > & ActorElement,
AActor * InRootActor,
FDatasmithActorUniqueLabelProvider & UniqueNameProvider
)
Adds a new component to the root actor. The component class is determined by the ActorElement type.
Parameter |
Description |
---|---|
ImportContext |
The context in which we're importing |
ActorElement |
The Datasmith element containing the data for the component |
RootActor |
The actor in which to add the component |