Navigation
API > API/Plugins > API/Plugins/MetaHumanCharacterPaletteEditor
A Content Browser-like widget for displaying a collection of assets representing character parts.
Accepts assets dragged and dropped into it from a Content Browser.
| Name | SCharacterPartsView |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanCharacter/Source/MetaHumanCharacterPaletteEditor/Public/Widgets/SCharacterPartsView.h |
| Include Path | #include "Widgets/SCharacterPartsView.h" |
Syntax
class SCharacterPartsView : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SCharacterPartsView
- FSlateControlledConstruction → SWidget → SCompoundWidget → SCharacterPartsView
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SCharacterPartsView() |
Widgets/SCharacterPartsView.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnMouseButtonDoubleClick | TSlateDelegates< TSharedPtr< FMetaHumanCharacterPaletteItem > >::FOnMouseButtonDoubleClick | Widgets/SCharacterPartsView.h | |
| FOnPaletteModified | FSimpleDelegate | Widgets/SCharacterPartsView.h | |
| FOnSelectionChanged | TSlateDelegates< TSharedPtr< FMetaHumanCharacterPaletteItem > >::FOnSelectionChanged | Widgets/SCharacterPartsView.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetThumbnailPool | TSharedRef< FAssetThumbnailPool > | Widgets/SCharacterPartsView.h | ||
| bIsPaletteEditable | bool | Widgets/SCharacterPartsView.h | ||
| CharacterPalette | TStrongObjectPtr< UMetaHumanCollection > | Widgets/SCharacterPartsView.h | ||
| ListItems | TSharedRef< UE::Slate::Containers::TObservableArray< TSharedPtr< FPartsViewTileData > > > | Mirrors the list of parts on the Palette asset. | Widgets/SCharacterPartsView.h | |
| OnMouseButtonDoubleClickDelegate | FOnMouseButtonDoubleClick | Widgets/SCharacterPartsView.h | ||
| OnPaletteModifiedDelegate | FOnPaletteModified | Widgets/SCharacterPartsView.h | ||
| OnSelectionChangedDelegate | FOnSelectionChanged | Widgets/SCharacterPartsView.h | ||
| PipelineSlotName | FName | Widgets/SCharacterPartsView.h | ||
| TileView | TSharedPtr< STileView< TSharedPtr< FPartsViewTileData > > > | Widgets/SCharacterPartsView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& Args |
Widgets/SCharacterPartsView.h | ||
virtual FReply OnDragOver
(
const FGeometry& MyGeometry, |
Widgets/SCharacterPartsView.h | ||
virtual FReply OnDrop
(
const FGeometry& MyGeometry, |
Widgets/SCharacterPartsView.h | ||
virtual bool SupportsKeyboardFocus() |
Widgets/SCharacterPartsView.h | ||
void WriteItemToCharacterPalette
(
const FMetaHumanPaletteItemKey& OriginalItemKey, |
Write the edited item back to the Character Palette asset | Widgets/SCharacterPartsView.h |