Navigation
API > API/Plugins > API/Plugins/MetaHumanToolkit
A viewport to manage AB views with the ability to display editable tracker contours as an overlay. This viewport can also display an extra widget at the bottom represented by the Content default slot.
| Name | SMetaHumanEditorViewport |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanToolkit/Public/SMetaHumanEditorViewport.h |
| Include Path | #include "SMetaHumanEditorViewport.h" |
Syntax
class SMetaHumanEditorViewport : public SAssetEditorViewport
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SEditorViewport → SAssetEditorViewport → SMetaHumanEditorViewport
- FSlateControlledConstruction → SWidget → SCompoundWidget → SEditorViewport → SAssetEditorViewport → SMetaHumanEditorViewport
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ABCommandList | FMetaHumanABCommandList | The AB command list used when showing the view menus A and B | SMetaHumanEditorViewport.h | |
| CurrentViewportGeometry | FGeometry | Holds the current geometry of the widget. | SMetaHumanEditorViewport.h | |
| OnGetABViewMenuContentsDelegate | FOnGetABMenuContents | Triggered to request the context menu for view A and B | SMetaHumanEditorViewport.h | |
| TrackerImageViewer | TSharedPtr< SMetaHumanOverlayWidget< STrackerImageViewer > > | A reference to the tracker image viewer overlay | SMetaHumanEditorViewport.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
SMetaHumanEditorViewport.h | ||
TSharedRef< SMetaHumanOverlayWidget< STrackerImageViewer > > GetTrackerImageViewer() |
Returns a reference to the STrackerImageViewer we are controlling | SMetaHumanEditorViewport.h |
Overridden from SEditorViewport
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BindCommands() |
SMetaHumanEditorViewport.h | ||
virtual void OnFocusViewportToSelection() |
SMetaHumanEditorViewport.h | ||
virtual void PopulateViewportOverlays
(
TSharedRef< SOverlay > InOverlay |
SMetaHumanEditorViewport.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SMetaHumanEditorViewport.h | |||
virtual void Tick
(
const FGeometry& InAllottedGeometry, |
SMetaHumanEditorViewport.h |