Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ICookPackageSplitter
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool PopulateGeneratorPackage
(
FPopulateContext& PopulateContext |
Called before presaving the parent generator package, to give the generator a chance to inform the cooker which objects will be moved into the generator package that are not already present in it. | CookPackageSplitter.h | |
virtual bool PopulateGeneratorPackage
(
UPackage* OwnerPackage, |
CookPackageSplitter.h |
PopulateGeneratorPackage(FPopulateContext &)
Description
Called before presaving the parent generator package, to give the generator a chance to inform the cooker which objects will be moved into the generator package that are not already present in it.
PopulateGeneratorPackage is guaranteed to not be called again until the splitter has been destroyed and the generator package has been garbage collected.
| Name | PopulateGeneratorPackage |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/CookPackageSplitter.h |
| Include Path | #include "CookPackageSplitter.h" |
virtual bool PopulateGeneratorPackage
(
FPopulateContext & PopulateContext
)
True if successfully populated, false on error (this will cause a cook error).
PopulateGeneratorPackage(UPackage , UObject , const TArray< ICookPackageSplitter::FGeneratedPackageForPopulate > &, TArray< UObject > &, TArray< UPackage > &)
| Name | PopulateGeneratorPackage |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/CookPackageSplitter.h |
| Include Path | #include "CookPackageSplitter.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Cooker/CookGenerationHelper.cpp |
virtual bool PopulateGeneratorPackage
(
UPackage * OwnerPackage,
UObject * OwnerObject,
const TArray < ICookPackageSplitter::FGeneratedPackageForPopulate > & GeneratedPackages,
TArray < UObject * > & OutObjectsToMove,
TArray < UPackage * > & OutKeepReferencedPackages
)