Navigation
API > API/Runtime > API/Runtime/Landscape
| Name | FLandscapeNotification |
| Type | struct |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeNotification.h |
| Include Path | #include "LandscapeNotification.h" |
Syntax
struct FLandscapeNotification
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| LandscapeNotification.h | |||
FLandscapeNotification
(
const TWeakObjectPtr< ALandscape >& InLandscape, |
Constructs a notification which is expected to have a longer lifetime and behave in a dynamic way. | LandscapeNotification.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLandscapeNotification() |
LandscapeNotification.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FConditionCallback | TFunction< bool(void)> | LandscapeNotification.h | |
| FUpdateTextCallback | TFunction< void(FText &)> | LandscapeNotification.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NotificationStartTime | double | Determines when a notification should be displayed, ignored if less than 0. | LandscapeNotification.h | |
| NotificationText | FText | The text to be displayed.Can either be set by user directly or by setting SetTextCallback at notification construction. | LandscapeNotification.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConditionCallback | FConditionCallback | Determines whether or not a notification should be shown. Defaults to return true. | LandscapeNotification.h | |
| Landscape | TWeakObjectPtr< ALandscape > | LandscapeNotification.h | ||
| NotificationType | ELandscapeNotificationType | LandscapeNotification.h | ||
| UpdateTextCallback | FUpdateTextCallback | Sets the notification text per frame by manipulating InText&. | LandscapeNotification.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TWeakObjectPtr< ALandscape > GetLandscape() |
LandscapeNotification.h | ||
ELandscapeNotificationType GetNotificationType() |
LandscapeNotification.h | ||
void SetNotificationText() |
LandscapeNotification.h | ||
bool ShouldShowNotification() |
Public wrappers for the callback functions. | LandscapeNotification.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FLandscapeNotification& Other |
LandscapeNotification.h |