Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UTextLayoutWidget
- UTextBlock
- UCommonTextBlock
- UCommonDateTimeTextBlock
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonDateTimeTextBlock.h |
| Include | #include "CommonDateTimeTextBlock.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UCommonDateTimeTextBlock : public UCommonTextBlock
Constructors
| Type | Name | Description | |
|---|---|---|---|
UCommonDateTimeTextBlock
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TOptional< FText > | FormatDateTime
(
const FDateTime& InDateTime |
||
| TOptional< FText > | FormatTimespan
(
const FTimespan& InTimespan |
||
| FDateTime | GetDateTime () |
||
| int32 | |||
| int32 | |||
| FOnTimeCountDownCompletion & | |||
| void | SetCountDownCompletionText
(
const FText InCompletionText |
||
| void | SetDateTimeValue
(
const FDateTime InDateTime, |
||
| void | SetTimespanValue
(
const FTimespan InTimespan |
||
| bool | ShouldClearTimer
(
const FTimespan& TimeRemaining |
||
| void |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| void | Applies all properties to the native widget if possible. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnTimeCountDownCompletion |