Navigation
API > API/Plugins > API/Plugins/DatasmithImporter
| Name | FDatasmithAssetsImportContext |
| Type | struct |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImportContext.h |
| Include Path | #include "DatasmithImportContext.h" |
Syntax
struct FDatasmithAssetsImportContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithAssetsImportContext
(
FDatasmithImportContext& ImportContext |
DatasmithImportContext.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LevelSequencesFinalPackage | TStrongObjectPtr< UPackage > | Package where new level sequences will be stored | DatasmithImportContext.h | |
| LevelSequencesImportPackage | TStrongObjectPtr< UPackage > | Package where the level sequences are stored until they are finalized | DatasmithImportContext.h | |
| LevelVariantSetsFinalPackage | TStrongObjectPtr< UPackage > | Package where new level sequences will be stored | DatasmithImportContext.h | |
| LevelVariantSetsImportPackage | TStrongObjectPtr< UPackage > | Package where the level variant sets are stored until they are finalized | DatasmithImportContext.h | |
| LightPackage | TStrongObjectPtr< UPackage > | Package where new lights will be stored | DatasmithImportContext.h | |
| MaterialFunctionNameProvider | FDatasmithUniqueNameProvider | Ensures uniqueness of the name of the material functions being imported in the material function material package | DatasmithImportContext.h | |
| MaterialFunctionsImportPackage | TStrongObjectPtr< UPackage > | Package where the material functions are stored until they are finalized | DatasmithImportContext.h | |
| MaterialInstanceNameProvider | FDatasmithUniqueNameProvider | Ensures uniqueness of the name of the materials being imported in the reference material package | DatasmithImportContext.h | |
| MaterialNameProvider | FDatasmithUniqueNameProvider | Ensures uniqueness of the name of the materials being imported | DatasmithImportContext.h | |
| MaterialsFinalPackage | TStrongObjectPtr< UPackage > | Package where new materials will be stored | DatasmithImportContext.h | |
| MaterialsImportPackage | TStrongObjectPtr< UPackage > | Package where the materials are stored until they are finalized | DatasmithImportContext.h | |
| MaterialsRequirements | TMap< FString, int32 > | Map of requirements on mesh building for each material | DatasmithImportContext.h | |
| ParentContext | FDatasmithImportContext * | The parent context that this context is a part of | DatasmithImportContext.h | |
| ReferenceMaterialsImportPackage | TStrongObjectPtr< UPackage > | Package where the reference/parent materials are stored until they are finalized | DatasmithImportContext.h | |
| RootFolderPath | FString | Root folder path, used to derive the other paths | DatasmithImportContext.h | |
| StaticMeshesFinalPackage | TStrongObjectPtr< UPackage > | Package where new static meshes will be stored | DatasmithImportContext.h | |
| StaticMeshesImportPackage | TStrongObjectPtr< UPackage > | Package where the static meshes are stored until they are finalized | DatasmithImportContext.h | |
| StaticMeshNameProvider | FDatasmithUniqueNameProvider | Ensures uniqueness of the name of the static meshes being imported | DatasmithImportContext.h | |
| TextureNameProvider | FDatasmithUniqueNameProvider | Ensures uniqueness of the name of the textures being imported | DatasmithImportContext.h | |
| TexturesFinalPackage | TStrongObjectPtr< UPackage > | Package where new textures will be stored | DatasmithImportContext.h | |
| TexturesImportPackage | TStrongObjectPtr< UPackage > | Package where the textures are stored until they are finalized | DatasmithImportContext.h | |
| TransientFolderPath | FString | Transient folder path, used to derive the other transient paths | DatasmithImportContext.h | |
| VirtualTexturesToConvert | TSet< UTexture2D * > | Set of virtual textures that needs to be converted back to non-virtual texture because not all feature support them yet. | DatasmithImportContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FDatasmithImportContext & GetParentContext () |
DatasmithImportContext.h | ||
| DatasmithImportContext.h | |||
bool Init() |
Inits the context by setting the paths and creating the packages to be ready to import assets. | DatasmithImportContext.h | |
void ReInit
(
const FString& NewRootFolder |
Updates all package paths based on a new root folder path e.g. "/Game/NewScene" | DatasmithImportContext.h |