UKismetTextLibrary::GetEmptyText
#include "Kismet/KismetTextLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns an empty piece of text.
Caveats & Gotchas
- • Equivalent to FText::GetEmpty() in C++; the Blueprint node exists because FText::GetEmpty() isn't itself exposed as a callable Blueprint function.
- • The returned text is empty but not null — TextIsEmpty on the result returns true, and it is safe to pass anywhere an FText is expected.
Signature
static FText GetEmptyText() Return Type
FText Example
Reset a text widget to blank C++
TitleTextBlock->SetText(UKismetTextLibrary::GetEmptyText()); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?