Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/UDatasmithImportFactory
- UFactory::FactoryCreateFile()
- UDatasmithImportFactory::FactoryCreateFile()
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImportFactory.h |
| Include | #include "DatasmithImportFactory.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithImportFactory.cpp |
virtual UObject &42; FactoryCreateFile
&40;
UClass &42; InClass,
UObject &42; InParent,
FName InName,
EObjectFlags Flags,
const FString & Filename,
const TCHAR &42; Parms,
FFeedbackContext &42; Warn,
bool & bOutOperationCanceled
&41;
Remarks
Create a new object by importing it from a file name.
The default implementation of this method will load the contents of the entire file into a byte buffer and call FactoryCreateBinary. User defined factories may override this behavior to process the provided file name on their own. The new object.
Parameters
| Name | Description |
|---|---|
| InClass | |
| InParent | |
| InName | |
| Flags | |
| Filename | |
| Parms | |
| Warn | |
| bOutOperationCanceled | Will indicate whether the user canceled the import. |