FGetOnScreenMessagesDelegate

Called when displaying on screen messages (like the "Lighting needs to be rebuilt"), to let other systems add any messages as needed Sample Usage: void GetMyOnScreenMessages(FCoreDelegates::FSeverityMessageMap& OutMessages) { OutMessages.Add([FCoreDelegates::EOnScreenMessageSeverity::Info](API\Runtime\Core\Misc\FCoreDelegates\EOnScreenMessageSeverity), [FText::Format](API\Runtime\Core\Internationalization\FText\Format\1)(LOCTEXT("MyMessage", "My Status: {0}"), SomeStatus)); }

Windows
MacOS
Linux

Type

typedef TMulticastDelegate_OneParam< void, FSeverityMessageMap & > FGetOnScreenMessagesDelegate

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/CoreDelegates.h

Include

#include "Misc/CoreDelegates.h"

Remarks

Called when displaying on screen messages (like the "Lighting needs to be rebuilt"), to let other systems add any messages as needed Sample Usage: void GetMyOnScreenMessages(FCoreDelegates::FSeverityMessageMap& OutMessages) { OutMessages.Add(FCoreDelegates::EOnScreenMessageSeverity::Info, FText::Format, SomeStatus)); }

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