Navigation
API > API/Editor > API/Editor/StatsViewer
Template for all stats pages/factories. These classes generate uniform arrays of identically-typed objects that are displayed in a PropertyTable. Boilerplate implementations are below that all pages in this module currently more-or-less share
| Name | FStatsPage |
| Type | class |
| Header File | /Engine/Source/Editor/StatsViewer/Public/StatsPage.h |
| Include Path | #include "StatsPage.h" |
Syntax
template<typename Entry>
class FStatsPage : public IStatsPage
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStatsPage() |
StatsPage.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FStatsPage() |
StatsPage.h |
Functions
Public
Overridden from IStatsPage
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetCustomColumns
(
TArray< TSharedRef< class IPropertyTableCustomColumn > >& OutCustomColumns |
Get any column customizations that this page wants to use. | StatsPage.h | |
virtual TSharedPtr< SWidget > GetCustomFilter
(
TWeakPtr< class IStatsViewer > InParentStatsViewer |
Get custom filter to display in the top part of the stats viewer, can return nullptr | StatsPage.h | |
virtual TSharedPtr< SWidget > GetCustomWidget
(
TWeakPtr< class IStatsViewer > InParentStatsViewer |
Get custom widget to display in the top part of the stats viewer, can return nullptr | StatsPage.h | |
virtual const FText GetDisplayName() |
Get the name of the entry type to be displayed in the page selection dropdown | StatsPage.h | |
virtual UClass * GetEntryClass() |
Get the class of the entry we handle This is needed to display the search filter's combo button | StatsPage.h | |
virtual FName GetName() |
Get the name of the entry type | StatsPage.h | |
virtual int32 GetObjectSetCount() |
Get the number of object sets this page supports | StatsPage.h | |
virtual FString GetObjectSetName
(
int32 InObjectSetIndex |
Get the name of the object set, to be displayed in the dropdown | StatsPage.h | |
virtual FString GetObjectSetToolTip
(
int32 InObjectSetIndex |
Get the tooltip of the object set, to be displayed over the object set the dropdown | StatsPage.h | |
virtual int32 GetSelectedObjectSet() |
Get the currently displayed object set | StatsPage.h | |
virtual const FText GetToolTip() |
Get the tooltip to be displayed over the page selection dropdown | StatsPage.h | |
virtual UWorld * GetWorld() |
Get the world used for page statistics. | StatsPage.h | |
virtual bool IsRefreshPending() |
Check if this page wants to refresh itself | StatsPage.h | |
virtual bool IsShowPending() |
Check if this page wants to show itself | StatsPage.h | |
virtual void Refresh
(
bool bRefresh |
Sends a requests to the stats page to refresh itself the next chance it gets | StatsPage.h | |
virtual void SetSelectedObjectSet
(
int32 InObjectSetIndex |
Set the currently displayed object set | StatsPage.h | |
virtual void SetWorld
(
UWorld& InWorld |
Set a specific world to use for page statistics. | StatsPage.h | |
virtual void Show
(
bool bInShow |
Begin IStatsPage interface | StatsPage.h |