Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Factories > UFactory
- UFactory::FactoryCreateFile()
- UCSVImportFactory::FactoryCreateFile()
- UFbxFactory::FactoryCreateFile()
- UFbxSceneImportFactory::FactoryCreateFile()
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/Factories/Factory.h |
Include | #include "Factories/Factory.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/Factories/Factory.cpp |
virtual UObject * FactoryCreateFile
(
UClass * InClass,
UObject * InParent,
FName InName,
EObjectFlags Flags,
const FString & Filename,
const TCHAR * Parms,
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. The new object.
Parameters
Name | Description |
---|---|
InClass | |
InParent | |
InName | |
Flags | |
Filename | |
Parms | |
Warn | |
bOutOperationCanceled | Will indicate whether the user canceled the import. |