Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterPalette
Represents the path to a Wardrobe Item within a Collection.
Items can contain other items, and a FMetaHumanPaletteItemKey is only unique within the Collection or Wardrobe Item it belongs to, so to address a unique item takes a sequence of FMetaHumanPaletteItemKeys: one for each level of nesting.
| Name | FMetaHumanPaletteItemPath |
| Type | struct |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPalette/Public/MetaHumanPaletteItemPath.h |
| Include Path | #include "MetaHumanPaletteItemPath.h" |
Syntax
USTRUCT (BlueprintType ,
Meta=(HasNativeMake="/Script/MetaHumanCharacterPaletteEditor.MetaHumanPaletteItemPathBlueprintLibrary.MakeItemPath"))
struct FMetaHumanPaletteItemPath
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MetaHumanPaletteItemPath.h | |||
FMetaHumanPaletteItemPath
(
const FMetaHumanPaletteItemKey& InItem |
MetaHumanPaletteItemPath.h | ||
FMetaHumanPaletteItemPath
(
const TArray< FMetaHumanPaletteItemKey >& InParentItems, |
MetaHumanPaletteItemPath.h | ||
FMetaHumanPaletteItemPath
(
const FMetaHumanPaletteItemPath& InParentItemPath, |
MetaHumanPaletteItemPath.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Collection | const FMetaHumanPaletteItemPath | In many contexts, the empty item path represents the path to the containing Collection itself. | MetaHumanPaletteItemPath.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Item | FMetaHumanPaletteItemKey | The last item in the path | MetaHumanPaletteItemPath.h |
|
| ParentItems | TArray< FMetaHumanPaletteItemKey > | The sequence of parent items to reach the actual item referenced by this path. | MetaHumanPaletteItemPath.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Append
(
const FMetaHumanPaletteItemPath& PathToAppend |
MetaHumanPaletteItemPath.h | ||
int32 Compare
(
const FMetaHumanPaletteItemPath& Other |
Compare this path with the other path to determine their sort order. | MetaHumanPaletteItemPath.h | |
int32 GetNumPathEntries() |
MetaHumanPaletteItemPath.h | ||
FMetaHumanPaletteItemKey GetPathEntry
(
int32 Index |
Index must be in the range 0 .. GetNumPathEntries() - 1, otherwise an assertion will fail. | MetaHumanPaletteItemPath.h | |
bool IsDirectChildPathOf
(
const FMetaHumanPaletteItemPath& ParentPath |
Compares this path to the given path and returns true if this path contains exactly one more entry, and the other entries exactly match the given path. | MetaHumanPaletteItemPath.h | |
bool IsEmpty() |
MetaHumanPaletteItemPath.h | ||
bool IsEqualOrChildPathOf
(
const FMetaHumanPaletteItemPath& ParentPath |
Returns true if this path is equal to the other path, or is a child path of it. | MetaHumanPaletteItemPath.h | |
FString ToDebugString() |
MetaHumanPaletteItemPath.h |