UObject::CookAdditionalFiles

Called during cook to allow objects to generate additional cooked files alongside their cooked package.

Windows
MacOS
Linux

Deprecated

  • Use the new CookAdditionalFilesOverride that provides a function to write the files

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h

Include

#include "UObject/Object.h"

Syntax

virtual void CookAdditionalFiles
(
    const TCHAR * PackageFilename,
    const ITargetPlatform * TargetPlatform
)

Remarks

Called during cook to allow objects to generate additional cooked files alongside their cooked package. @note These should typically match the name of the package, but with a different extension.

Parameters

Parameter

Description

PackageFilename

full path to the package that this object is being saved to on disk

TargetPlatform

target platform to cook additional files for

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss