Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterPalette
Base class for objects that can contain items targeting a Character Pipeline.
| Name | UMetaHumanCharacterPalette |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Public/MetaHumanCharacterPalette.h |
| Include Path | #include "MetaHumanCharacterPalette.h" |
Syntax
UCLASS (Abstract)
class UMetaHumanCharacterPalette : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMetaHumanCharacterPalette
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ContainsItem
(
const FMetaHumanPaletteItemKey& Key |
Returns true if an item with the given key exists in this palette | MetaHumanCharacterPalette.h | |
FName GenerateUniqueVariationName
(
const FMetaHumanPaletteItemKey& SourceKey |
If this palette already contains an item matching the SourceKey, generate a variation name that doesn't match any existing item. | MetaHumanCharacterPalette.h | |
const TArray< FMetaHumanCharacterPaletteItem > & GetItems() |
Provides const access to the items array | MetaHumanCharacterPalette.h | |
virtual const UMetaHumanCharacterEditorPipeline * GetPaletteEditorPipeline() |
MetaHumanCharacterPalette.h | ||
virtual const UMetaHumanCharacterPipeline * GetPalettePipeline() |
MetaHumanCharacterPalette.h | ||
int32 RemoveAllItemsForSlot
(
FName SlotName |
Remove all items assigned to the given slotReturns the number of items that were removed. | MetaHumanCharacterPalette.h | |
bool TryAddItem
(
const FMetaHumanCharacterPaletteItem& NewItem |
Adds an item to this palette, if there's no existing item with the same key. | MetaHumanCharacterPalette.h | |
bool TryAddItemFromPrincipalAsset
(
FName SlotName, |
Creates a new internal Wardrobe Item for a principal asset and adds it to the palette. | MetaHumanCharacterPalette.h | |
bool TryAddItemFromWardrobeItem
(
FName SlotName, |
Adds a Wardrobe Item to the palette. | MetaHumanCharacterPalette.h | |
bool TryFindItem
(
const FMetaHumanPaletteItemKey& Key, |
Fetches the item with the given key, if it exists | MetaHumanCharacterPalette.h | |
bool TryRemoveItem
(
const FMetaHumanPaletteItemKey& ExistingKey |
Removes a single item from the palette for the given key. | MetaHumanCharacterPalette.h | |
bool TryReplaceItem
(
const FMetaHumanPaletteItemKey& ExistingKey, |
Replace an existing item with a new item. | MetaHumanCharacterPalette.h | |
bool TryResolveItem
(
const FMetaHumanPaletteItemPath& ItemPath, |
Try to find the item and its containing palette referenced by the given path. | MetaHumanCharacterPalette.h | |
bool TryResolveItemPipeline
(
const FMetaHumanPaletteItemPath& ItemPath, |
Same as TryResolvePipeline, except that it can only resolve item pipelines, not the Collection's pipeline. | MetaHumanCharacterPalette.h | |
bool TryResolvePipeline
(
const FMetaHumanPaletteItemPath& ItemPath, |
Try to find the pipeline corresponding to the given item path. | MetaHumanCharacterPalette.h |