FStatsViewerModule::CreateStatsViewer

Creates a customized stats viewer widget.

Windows
MacOS
Linux

References

Module

StatsViewer

Header

/Engine/Source/Editor/StatsViewer/Public/StatsViewerModule.h

Include

#include "StatsViewerModule.h"

Source

/Engine/Source/Editor/StatsViewer/Private/StatsViewerModule.cpp

Syntax

virtual TSharedRef< IStatsViewer > CreateStatsViewer
(
    UWorld & InWorld,
    uint32 EnabledDefaultPagesMask,
    const FName & ViewerName
) const

Remarks

Creates a customized stats viewer widget.

Returns

New stats viewer widget

Parameters

Parameter

Description

InWorld

Use this world (instead of default one) for all statistics

EnabledDefaultPagesMask

The default pages that will be available for this stats viewer

ViewerName

A unique name for this stats viewer (used as a configuration settings key)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss