Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterPalette > API/Plugins/MetaHumanCharacterPalette/UMetaHumanCollectionEditorPipeli-
Description
Build the Collection
For any slot that has at least one entry in SortedPinnedSlotSelections, the slot will be locked to the given selections at assembly time and users won't be able to make any assignment to the slot on the Instance.
A null selection may be pinned by having a slot selection that specifies the null item.
Items assigned to a pinned slot that are not part of the pinned selection will be added to SortedItemsToExclude automatically.
SortedPinnedSlotSelections is a hint to the pipeline that no other selection will be possible for the slot. The pipeline is not obliged to use this information for anything, but it may choose to bake certain data into its build output based on its knowledge about which items will be selected at assembly time.
Items named in pinned selections should still produce build output, and will still have AssembleItem called for them when the Instance is assembled. Pinned items may still produce Instance Parameters during assembly.
| Name | BuildCollection |
| Type | function |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Public/MetaHumanCollectionEditorPipeline.h |
| Include Path | #include "MetaHumanCollectionEditorPipeline.h" |
virtual void BuildCollection
(
TNotNull< const UMetaHumanCollection * > Collection,
TNotNull< UObject * > OuterForGeneratedAssets,
const TArray < FMetaHumanPinnedSlotSelection > & SortedPinnedSlotSelections,
const TArray < FMetaHumanPaletteItemPath > & SortedItemsToExclude,
const FInstancedStruct & BuildInput,
EMetaHumanCharacterPaletteBuildQuality Quality,
ITargetPlatform * TargetPlatform,
const FOnBuildComplete & OnComplete
) const