Navigation
API > API/Runtime > API/Runtime/Slate
| Name | FWidgetLayoutBlock |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/WidgetLayoutBlock.h |
| Include Path | #include "Framework/Text/WidgetLayoutBlock.h" |
Syntax
class FWidgetLayoutBlock : public ILayoutBlock
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FWidgetLayoutBlock
(
const FWidgetLayoutBlock& Block |
Framework/Text/WidgetLayoutBlock.h | ||
FWidgetLayoutBlock
(
const TSharedRef< IRun >& InRun, |
Framework/Text/WidgetLayoutBlock.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FWidgetLayoutBlock() |
Framework/Text/WidgetLayoutBlock.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LocationOffset | FVector2D | Framework/Text/WidgetLayoutBlock.h | ||
| Range | FTextRange | Framework/Text/WidgetLayoutBlock.h | ||
| Renderer | TSharedPtr< IRunRenderer > | Framework/Text/WidgetLayoutBlock.h | ||
| Run | TSharedRef< IRun > | Framework/Text/WidgetLayoutBlock.h | ||
| Size | FVector2D | Framework/Text/WidgetLayoutBlock.h | ||
| TextContext | FLayoutBlockTextContext | Framework/Text/WidgetLayoutBlock.h | ||
| Widget | TSharedRef< SWidget > | Framework/Text/WidgetLayoutBlock.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< SWidget > GetWidget() |
Framework/Text/WidgetLayoutBlock.h |
Overridden from ILayoutBlock
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D GetLocationOffset() |
Framework/Text/WidgetLayoutBlock.h | ||
virtual TSharedPtr< IRunRenderer > GetRenderer() |
Framework/Text/WidgetLayoutBlock.h | ||
virtual TSharedRef< IRun > GetRun() |
Framework/Text/WidgetLayoutBlock.h | ||
virtual FVector2D GetSize() |
Framework/Text/WidgetLayoutBlock.h | ||
virtual FLayoutBlockTextContext GetTextContext() |
Framework/Text/WidgetLayoutBlock.h | ||
virtual FTextRange GetTextRange() |
Framework/Text/WidgetLayoutBlock.h | ||
virtual void SetLocationOffset
(
const FVector2D& InLocationOffset |
Framework/Text/WidgetLayoutBlock.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FWidgetLayoutBlock > Create
(
const FWidgetLayoutBlock& Block |
Framework/Text/WidgetLayoutBlock.h | ||
static TSharedRef< FWidgetLayoutBlock > Create
(
const TSharedRef< IRun >& InRun, |
Framework/Text/WidgetLayoutBlock.h |