FGlobalNotification

Class used to provide simple global notifications

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Notifications/GlobalNotification.h

Include

#include "Widgets/Notifications/GlobalNotification.h"

Syntax

class FGlobalNotification

Remarks

Class used to provide simple global notifications

Constructors

Name Description

Public function

FGlobalNotification

(
    const double InEnableDelayInSeconds
)

Destructors

Name Description

Public function Virtual

~FGlobalNotification()

Functions

Name Description

Protected function Const

void

 

SetNotificationText

(
    const TSharedPtr< SNotificationItem...
)

Called to update the text on the given notification

Protected function Const

bool

 

ShouldShowNotification

(
    const bool bIsNotificationAlreadyAc...
)

Used to work out whether the notification should currently be visible (causes BeginNotification, EndNotification, and SetNotificationText to be called at appropriate points)

Public function

void

 

TickNotification

(
    float DeltaTime
)

Called to Tick this notification and update its state

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