Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ICookPackageSplitter
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool PopulateGeneratedPackage
(
FPopulateContext& PopulateContext |
Try to populate a generated package. | CookPackageSplitter.h | |
virtual bool PopulateGeneratedPackage
(
UPackage* OwnerPackage, |
CookPackageSplitter.h |
PopulateGeneratedPackage(FPopulateContext &)
Description
Try to populate a generated package.
Receive an empty UPackage generated from a GeneratedPackage in the GenerationManifest and populate it. Return a list of all the objects that will be moved into the Generated package during its save, so the cooker can call BeginCacheForCookedPlatformData on them before the move After returning, the given package will be queued for saving into the TargetDomain
PopulateGeneratedPackage is guaranteed to not be called again on the same generated package until the splitter has been destroyed and the generator package has been garbage collected.
| Name | PopulateGeneratedPackage |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/CookPackageSplitter.h |
| Include Path | #include "CookPackageSplitter.h" |
virtual bool PopulateGeneratedPackage
(
FPopulateContext & PopulateContext
)
True if successfully populated, false on error (this will cause a cook error).
PopulateGeneratedPackage(UPackage , UObject , const FGeneratedPackageForPopulate &, TArray< UObject > &, TArray< UPackage > &)
| Name | PopulateGeneratedPackage |
| 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 PopulateGeneratedPackage
(
UPackage * OwnerPackage,
UObject * OwnerObject,
const FGeneratedPackageForPopulate & GeneratedPackage,
TArray < UObject * > & OutObjectsToMove,
TArray < UPackage * > & OutKeepReferencedPackages
)