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

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback