FRunModel

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/Text/TextLayout.h"

Syntax

class FRunModel

Constructors

Name Description

Public function

FRunModel

(
    const TSharedRef< IRun >& InRun
)

Functions

Name Description

Public function Const

void

 

AppendTextTo

(
    FString& Text
)

Public function Const

void

 

AppendTextTo

(
    FString& Text,
    const FTextRange& Range
)

Public function

void

 

BeginLayout()

Public function Static

int32

 

BinarySearchForBeginIndex

(
    const TArray< FTextRange >& Ranges,
    int32 BeginIndex
)

Public function Static

int32

 

BinarySearchForEndIndex

(
    const TArray< FTextRange >& Ranges,
    int32 RangeBeginIndex,
    int32 EndIndex
)

Public function

void

 

ClearCache()

Public function Const

TSharedRef< ...

 

CreateBlock

(
    const FBlockDefinition& BlockDefin...,
    float InScale,
    const FLayoutBlockTextContext& InT...
)

Public function

void

 

EndLayout()

Public function Const

int16

 

GetBaseLine

(
    float Scale
)

Public function

int8

 

GetKerning

(
    int32 CurrentIndex,
    float Scale,
    const FRunTextContext& InTextConte...
)

Public function Const

int16

 

GetMaxHeight

(
    float Scale
)

Public function Const

TSharedRef< ...

 

GetRun()

Public function Const

FTextRange

 

GetTextRange()

Public function

FVector2D

 

Measure

(
    int32 BeginIndex,
    int32 EndIndex,
    float Scale,
    const FRunTextContext& InTextConte...
)

Public function

void

 

SetTextRange

(
    const FTextRange& Value
)

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