unreal.CookFunctionLibrary¶
- class unreal.CookFunctionLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectCook Function Library
C++ Source:
Module: UnrealEd
File: CookFunctionLibrary.h
- classmethod cook_asset(object, for_platform, destination_subfolder, cook_commandline_args='') None¶
Writes the cooked version of the provided object’s package into the Saved folder, in the subfolder defined by DestinationSubfolder. Extra arguments (such as -unversioned) can be provided by CookCommandlineArgs. This function is experimental and may not exactly match the behavior of the cook commandlet.