FBaseTextLayoutMarshaller

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Text/BaseTextLayoutMarshaller.h

Include

#include "Framework/Text/BaseTextLayoutMarshaller.h"

Syntax

class FBaseTextLayoutMarshaller : public ITextLayoutMarshaller

Remarks

Base class implementing some common functionality for all text marshallers

Constructors

Name Description

Protected function

FBaseTextLayoutMarshaller()

Destructors

Name Description

Protected function Virtual

~FBaseTextLayoutMarshaller()

Overridden from ITextLayoutMarshaller

Name Description

Public function Virtual

void

 

ClearDirty()

Mark this text layout as clean once it's been updated

Public function Virtual Const

bool

 

IsDirty()

Is this text layout dirty? (eg, because some settings have changed) If so, you should call SetText on it to update the text layout

Public function Virtual

void

 

MakeDirty()

Mark this text layout as dirty (eg, because some settings have changed), so that it will cause SetText to be called on the next Tick

Public function Virtual Const

bool

 

RequiresLiveUpdate()

Return true if the marshaller requires the text be updated "live" (eg, because it inserts formatting directly into the source text) Returning true will cause SetText to be called every time the source text is changed, which is costly, but required for things like syntax highlighting

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss