Module |
|
Header |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithActorImporter.h |
Include |
#include "DatasmithActorImporter.h" |
Source |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithActorImporter.cpp |
static USceneComponent * ImportSceneComponent
(
UClass * ComponentClass,
const TSharedRef< IDatasmithActorElement > & ActorElement,
FDatasmithImportContext & ImportContext,
UObject * Outer,
FDatasmithActorUniqueLabelProvider & UniqueNameProvider
)
Imports a scene component of class ComponentClass based on ActorElement Will add the component as an instance component of Outer if Outer is an Actor
Returns the importer scene component. The component is not registered to allow edits. The caller needs to register it when the setup is complete.
Parameter |
Description |
---|---|
ComponentClass |
The class of the scene component to import. Needs to be a USceneComponent or a child of USceneComponent |
ActorElement |
The Datasmith element containing the data for the component |
ImportContext |
The context in which we're importing |
Outer |
The outer that will contain the component |