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 * 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.