UKismetTextLibrary::TextIsTransient
#include "Kismet/KismetTextLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns true if the given text is transient, meaning it was generated at runtime rather than loaded from a localization source.
Caveats & Gotchas
- • Transient text includes anything built via FText::Format, FText::AsNumber, or similar runtime construction — it doesn't mean the text is temporary or about to be destroyed.
- • This is primarily a diagnostic/internal check; most gameplay code has no reason to branch on it.
Signature
static bool TextIsTransient(const FText& InText) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InText | const FText& | The text to check. | — |
Return Type
bool Example
Skip caching for generated text C++
FText DisplayText = GetCurrentDisplayText();
if (!UKismetTextLibrary::TextIsTransient(DisplayText))
{
CacheLocalizedText(DisplayText);
} Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?