Skip to content

USMAssetImporter::FImportArgs

Public Attributes

Name
FString ImportFullFilePath
void * ImportData
FString ImportType
FString SaveToContentPath
TWeakObjectPtr< USMBlueprint > ImportToBlueprint
bool bClearExisting
bool bCheckVersion
bool bCompileBlueprint

Public Attributes Documentation

variable ImportFullFilePath

FString ImportFullFilePath;

[Required if ImportData null] Full file system path to import from.


variable ImportData

void * ImportData = nullptr;

[Required if ImportFullFilePath empty] The raw data to be imported.


variable ImportType

FString ImportType;

[Optional] Type of import such as "json". If empty the extension from the file path will be used.


variable SaveToContentPath

FString SaveToContentPath;

[Required if Blueprint null] The relative content path to create and save an asset to.


variable ImportToBlueprint

TWeakObjectPtr< USMBlueprint > ImportToBlueprint;

[Required if SaveToContentPath empty] The existing blueprint which will receive the import data.


variable bClearExisting

bool bClearExisting = true;

[Optional] If ImportToBlueprint is specified, should it be cleared of existing data prior to an import?


variable bCheckVersion

bool bCheckVersion = true;

[Optional] Verify the version field LD::JsonFields::FIELD_JSON_VERSION when importing.


variable bCompileBlueprint

bool bCompileBlueprint = false;

[Optional] Compile the blueprint after import.