| UFactory::FactoryCreateFile()
|
Module |
|
Header |
/Engine/Plugins/Experimental/AlembicImporter/Source/AlembicImporter/Classes/AlembicImportFactory.h |
Include |
#include "AlembicImportFactory.h" |
Source |
/Engine/Plugins/Experimental/AlembicImporter/Source/AlembicImporter/Private/AlembicImportFactory.cpp |
virtual UObject * FactoryCreateFile
(
UClass * InClass,
UObject * InParent,
FName InName,
EObjectFlags Flags,
const FString & Filename,
const TCHAR * Parms,
FFeedbackContext * Warn,
bool & bOutOperationCanceled
)
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.
Parameter |
Description |
---|---|
InClass |
|
InParent |
|
InName |
|
Flags |
|
Filename |
|
Parms |
|
Warn |
|
bOutOperationCanceled |
Will indicate whether the user canceled the import. |