Navigation
API > API/Runtime > API/Runtime/Slate
| Name | FSlateWidgetRun |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/SlateWidgetRun.h |
| Include Path | #include "Framework/Text/SlateWidgetRun.h" |
Syntax
class FSlateWidgetRun :
public ISlateRun ,
public TSharedFromThis< FSlateWidgetRun >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FSlateWidgetRun
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateWidgetRun
(
const FSlateWidgetRun& Run |
Framework/Text/SlateWidgetRun.h | ||
FSlateWidgetRun
(
const TSharedRef< class FTextLayout >& TextLayout, |
Framework/Text/SlateWidgetRun.h | ||
FSlateWidgetRun
(
const TSharedRef< class FTextLayout >& TextLayout, |
Framework/Text/SlateWidgetRun.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSlateWidgetRun() |
Framework/Text/SlateWidgetRun.h |
Structs
| Name | Remarks |
|---|---|
| FWidgetRunInfo |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Children | TArray< TSharedRef< SWidget > > | Framework/Text/SlateWidgetRun.h | ||
| Info | FWidgetRunInfo | Framework/Text/SlateWidgetRun.h | ||
| Range | FTextRange | Framework/Text/SlateWidgetRun.h | ||
| RunInfo | FRunInfo | Framework/Text/SlateWidgetRun.h | ||
| Text | TSharedRef< const FString > | Framework/Text/SlateWidgetRun.h | ||
| TextLayout | TWeakPtr< class FTextLayout > | Framework/Text/SlateWidgetRun.h | ||
| WidgetSize | FVector2D | Framework/Text/SlateWidgetRun.h |
Functions
Public
Overridden from ISlateRun
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ArrangeChildren
(
const TSharedRef< ILayoutBlock >& Block, |
Framework/Text/SlateWidgetRun.h | ||
virtual const TArray< TSharedRef< SWidget > > & GetChildren() |
Framework/Text/SlateWidgetRun.h | ||
virtual int32 OnPaint
(
const FPaintArgs& PaintArgs, |
Framework/Text/SlateWidgetRun.h |
Overridden from IRun
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AppendTextTo
(
FString& AppendToText, |
Framework/Text/SlateWidgetRun.h | ||
virtual void AppendTextTo
(
FString& Text |
Framework/Text/SlateWidgetRun.h | ||
virtual void BeginLayout() |
Framework/Text/SlateWidgetRun.h | ||
virtual TSharedRef< IRun > Clone() |
Framework/Text/SlateWidgetRun.h | ||
virtual TSharedRef< ILayoutBlock > CreateBlock
(
int32 StartIndex, |
Framework/Text/SlateWidgetRun.h | ||
virtual void EndLayout() |
Framework/Text/SlateWidgetRun.h | ||
virtual int16 GetBaseLine
(
float Scale |
Framework/Text/SlateWidgetRun.h | ||
virtual int8 GetKerning
(
int32 CurrentIndex, |
Framework/Text/SlateWidgetRun.h | ||
virtual FVector2D GetLocationAt
(
const TSharedRef< ILayoutBlock >& Block, |
Framework/Text/SlateWidgetRun.h | ||
virtual int16 GetMaxHeight
(
float Scale |
Framework/Text/SlateWidgetRun.h | ||
virtual ERunAttributes GetRunAttributes() |
Framework/Text/SlateWidgetRun.h | ||
virtual const FRunInfo & GetRunInfo() |
Framework/Text/SlateWidgetRun.h | ||
virtual int32 GetTextIndexAt
(
const TSharedRef< ILayoutBlock >& Block, |
Framework/Text/SlateWidgetRun.h | ||
virtual FTextRange GetTextRange() |
Framework/Text/SlateWidgetRun.h | ||
virtual FVector2D Measure
(
int32 StartIndex, |
Framework/Text/SlateWidgetRun.h | ||
virtual void Move
(
const TSharedRef< FString >& NewText, |
Framework/Text/SlateWidgetRun.h | ||
virtual void SetTextRange
(
const FTextRange& Value |
Framework/Text/SlateWidgetRun.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FSlateWidgetRun > Create
(
const TSharedRef< class FTextLayout >& TextLayout, |
Framework/Text/SlateWidgetRun.h | ||
static TSharedRef< FSlateWidgetRun > Create
(
const TSharedRef< class FTextLayout >& TextLayout, |
Framework/Text/SlateWidgetRun.h |