Navigation
API > API/Plugins > API/Plugins/DatasmithImporter
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithActorImporter.h |
| Include | #include "DatasmithActorImporter.h" |
Syntax
class FDatasmithActorImporter
Functions
| Type | Name | Description | |
|---|---|---|---|
| AActor * | ImportActor
(
UClass* ActorClass, |
Imports an actor of class ActorClass based on ActorElement | |
| AActor * | ImportBaseActor
(
FDatasmithImportContext& ImportContext, |
Spawns an actor with a SceneComponent | |
| USceneComponent * | ImportBaseActorAsComponent
(
FDatasmithImportContext& ImportContext, |
||
| AActor * | ImportCameraActor
(
FDatasmithImportContext& ImportContext, |
Spawns a cine camera actor | |
| AActor * | ImportClothActor
(
FDatasmithImportContext& ImportContext, |
||
| AActor * | ImportCustomActor
(
FDatasmithImportContext& ImportContext, |
Spawns an actor with a class defined by the CustomActorElement class name | |
| AActor * | ImportDecalActor
(
FDatasmithImportContext& ImportContext, |
Spawns a Decal actor | |
| AActor * | ImportEnvironment
(
FDatasmithImportContext& ImportContext, |
Spawns a cine camera actor | |
| AActor * | ImportHierarchicalInstancedStaticMeshAsActor
(
FDatasmithImportContext& ImportContext, |
Spawns an actor with a hierarchical instanced static mesh component | |
| UHierarchicalInstancedStaticMeshComponent * | ImportHierarchicalInstancedStaticMeshComponent
(
FDatasmithImportContext& ImportContext, |
||
| AActor * | ImportLandscapeActor
(
FDatasmithImportContext& ImportContext, |
Spawns a landscape actor | |
| AActor * | ImportLightActor
(
FDatasmithImportContext& ImportContext, |
Spawns a light actor. The light class depends on the LightActorElement type. | |
| USceneComponent * | ImportSceneComponent
(
UClass* ComponentClass, |
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 | |
| AStaticMeshActor * | ImportStaticMeshActor
(
FDatasmithImportContext& ImportContext, |
Spawns a static mesh actor | |
| UStaticMeshComponent * | ImportStaticMeshComponent
(
FDatasmithImportContext& ImportContext, |
||
| void | OverrideStaticMeshActorMaterial
(
const FDatasmithImportContext& ImportContext, |
||
| void | OverrideStaticMeshActorMaterials
(
const FDatasmithImportContext& ImportContext, |
Sets the materials on a static mesh actor to override the ones from the static mesh | |
| TSet< FName > | ParseCsvLayers
(
const TCHAR* CsvLayersNames |
Parse Layer names to a Set of FNames | |
| void | SetupActorProperties
(
AActor* ImportedActor, |
Handle Actor common properties (Layers, Tags) | |
| void | SetupHierarchicalInstancedStaticMeshComponent
(
FDatasmithImportContext& ImportContext, |
Sets the properties of a hierarchical instanced static mesh component based on the HierarchicalInstancedStatictMeshActorElement values | |
| void | SetupSceneComponent
(
USceneComponent* SceneComponent, |
||
| void | SetupStaticMeshComponent
(
FDatasmithImportContext& ImportContext, |
Sets the properties of a static mesh component based on the MeshActorElement values |