UViewportStatsSubsystem::AddDisplayDelegate

Add a dynamic delegate to the display subsystem.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/ViewportStatsSubsystem.h

Include

#include "Engine/ViewportStatsSubsystem.h"

Source

/Engine/Source/Runtime/Engine/Private/Engine/ViewportStatsSubsystem.cpp

Syntax

int32 AddDisplayDelegate
(
    FViewportDisplayCallback const & Delegate
)

Remarks

Add a dynamic delegate to the display subsystem.

Parameters

Parameter

Description

Callback

The callback the subsystem will use to determine if a message should be displayed or not Signature of callbacks should be: bool(FText& OutTest, FLinearColor& OutColor)

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