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 * FactoryCreateFile
(
UClass * InClass,
UObject * InParent,
FName InName,
EObjectFlags Flags,
const FString & Filename,
const TCHAR * InParms,
FFeedbackContext * Warn,
bool & bOutOperationCanceled
)
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.