FTextSnapshot

A snapshot of an [FText](API\Runtime\Core\Internationalization\FText) at a point in time that can be used to detect changes in the [FText](API\Runtime\Core\Internationalization\FText), including live-culture changes

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/Text.h

Include

#include "Internationalization/Text.h"

Syntax

class FTextSnapshot

Remarks

A snapshot of an FText at a point in time that can be used to detect changes in the FText, including live-culture changes

Constructors

Name Description

Public function

FTextSnapshot()

Public function

FTextSnapshot

(
    const FText& InText
)

Functions

Name Description

Public function Const

bool

 

IdenticalTo

(
    const FText& InText
)

Check to see whether the given text is identical to the text this snapshot was made from

Public function Const

bool

 

IsDisplayStringEqualTo

(
    const FText& InText
)

Check to see whether the display string of the given text is identical to the display string this snapshot was made from