Navigation
API > API/Plugins > API/Plugins/DatasmithImporter
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UFactory
- USceneImportFactory
- UDatasmithImportFactory
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImportFactory.h |
| Include | #include "DatasmithImportFactory.h" |
Syntax
UCLASS&40;&41;
class UDatasmithImportFactory :
public USceneImportFactory,
public IImportSettingsParser,
public FReimportHandler
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UObject * | CreateFromExternalSource
(
UClass* InClass, |
Overridden from UFactory
| Type | Name | Description | |
|---|---|---|---|
| void | CleanUp () |
Do clean up after importing is done. Will be called once for multi batch import. | |
| bool | DoesSupportClass
(
UClass* InClass |
Used on import path edition to select factories that can produce InClass type of asset. | |
| bool | FactoryCanImport
(
const FString& Filename |
Whether the specified file can be imported by this factory. | |
| UObject * | FactoryCreateFile
(
UClass* InClass, |
Create a new object by importing it from a file name. | |
| FText | Returns the name of the factory for menus | ||
| IImportSettingsParser * | |||
| UClass * | Resolves SupportedClass for factories which support multiple classes. |
Overridden from IImportSettingsParser
| Type | Name | Description | |
|---|---|---|---|
| void | ParseFromJson
(
TSharedRef< FJsonObject > ImportSettingsJson |
Parses settings data from a json object. |
Overridden from FReimportHandler
| Type | Name | Description | |
|---|---|---|---|
| bool | CanReimport
(
UObject* Obj, |
Check to see if the handler is capable of reimporting the object | |
| TObjectPtr< UObject > * | Returns the UFactory object associated with this reimport handler | ||
| int32 | GetPriority () |
Get the import priority for this handler. | |
| EReimportResult::Type | Attempt to reimport the specified object from its source | ||
| void | SetReimportPaths
(
UObject* Obj, |
Sets the reimport path(s) for the specified object |