Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
Include | #include "UObject/Object.h" |
void CookAdditionalFiles
&40;
const TCHAR &42; PackageFilename,
const ITargetPlatform &42; TargetPlatform,
TFunctionRef< void(const TCHAR &42;Filename, void &42;Data, int64Size)> WriteAdditionalFile
&41;
Remarks
Called during cook to allow objects to generate additional cooked files alongside their cooked package.
Implement CookAdditionalFilesOverride to define sub class behavior.
Parameters
Name | Description |
---|---|
PackageFilename | full path to the package that this object is being saved to on disk |
TargetPlatform | target platform to cook additional files for |
WriteAdditionalFile | function for writing the additional files |