Navigation
API > API/Plugins > API/Plugins/HairStrandsEditor > API/Plugins/HairStrandsEditor/UHairStrandsFactory
- UFactory::FactoryCreateFile()
- UHairStrandsFactory::FactoryCreateFile()
References
| Module | HairStrandsEditor |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsEditor/Public/HairStrandsFactory.h |
| Include | #include "HairStrandsFactory.h" |
| Source | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsEditor/Private/HairStrandsFactory.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. |