Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Text/STextBlock.h |
Include |
#include "Widgets/Text/STextBlock.h" |
class STextBlock : public SLeafWidget
A simple static text widget
Name | Description | ||
---|---|---|---|
|
uint16: 1 |
bIsAttributeBoundTextBound |
|
|
uint16: 1 |
bIsAttributeColorAndOpacitySet |
|
|
uint16: 1 |
bIsAttributeFontSet |
|
|
uint16: 1 |
bIsAttributeHighlightColorSet |
|
|
uint16: 1 |
bIsAttributeHighlightShapeSet |
|
|
uint16: 1 |
bIsAttributeShadowColorAndOpacitySet |
|
|
uint16: 1 |
bIsAttributeShadowOffsetSet |
|
|
uint16: 1 |
bIsAttributeStrikeBrushSet |
|
|
uint16: 1 |
bIsAttributeTransformPolicySet |
|
|
uint16: 1 |
bIsAttributeWrapTextAtSet |
|
|
uint16 |
Union_Flags |
Name | Description | |
---|---|---|
|
STextBlock() |
Constructor |
Name | Description | |
---|---|---|
|
~STextBlock() |
Destructor |
Name | Description | ||
---|---|---|---|
|
void |
Construct ( |
Construct this widget |
|
GetColorAndOpacity() |
Gets the current foreground color |
|
|
const FSlate... |
GetColorAndOpacityRef() |
Gets the current foreground color as ref |
|
FSlateFontIn... |
GetFont() |
Gets the current font |
|
const FSlate... |
GetFontRef() |
Gets the current font as ref |
|
GetHighlightColor() |
Gets the current highlight color |
|
|
const FSlate... |
GetHighlightShape() |
Gets the current highlight shape |
|
GetMargin() |
Gets the current margin |
|
|
float |
GetMinDesiredWidth() |
Gets the current min desired width |
|
GetShadowColorAndOpacity() |
Gets the current shadow color and opacity |
|
|
const FLinea... |
GetShadowColorAndOpacityRef() |
Gets the current shadow color and opacity as ref |
|
FVector2f |
GetShadowOffset() |
Gets the current shadow offset |
|
const FSlate... |
GetStrikeBrush() |
Gets the current strike brush |
|
const FText ... |
GetText() |
Gets the text assigned to this text block |
|
ETextTransfo... |
GetTransformPolicyImpl() |
Get TransformPolicy attribute |
|
void |
SetAutoWrapText ( |
See AutoWrapText attribute |
|
void |
SetColorAndOpacity ( |
See ColorAndOpacity attribute |
|
void |
SetFont ( |
Sets the font used to draw the text |
|
void |
SetHighlightColor ( |
See HighlightColor attribute |
|
void |
SetHighlightShape ( |
See HighlightShape attribute |
|
void |
SetHighlightText ( |
Sets the highlight text for this text block |
|
void |
SetJustification ( |
See Justification attribute |
|
void |
SetLineHeightPercentage ( |
See LineHeightPercentage attribute |
|
void |
SetMargin ( |
See Margin attribute |
|
void |
SetMinDesiredWidth ( |
See MinDesiredWidth attribute |
|
void |
SetOverflowPolicy ( |
Sets the overflow policy for this text block |
|
void |
SetShadowColorAndOpacity ( |
See ShadowColorAndOpacity attribute |
|
void |
SetShadowOffset ( |
See ShadowOffset attribute |
|
void |
SetStrikeBrush ( |
Sets the brush used to strike through the text |
|
void |
SetText ( |
Sets the text for this text block |
|
void |
SetTextFlowDirection ( |
See TextFlowDirection attribute |
|
void |
SetTextShapingMethod ( |
See TextShapingMethod attribute |
|
void |
SetTextStyle ( |
See TextStyle argument |
|
void |
SetTransformPolicy ( |
Set TransformPolicy attribute |
|
void |
SetWrappingPolicy ( |
Set WrappingPolicy attribute |
|
void |
SetWrapTextAt ( |
See WrapTextAt attribute |
|
const FSlate... |
StaticWidgetClass() |
Name | Description | ||
---|---|---|---|
|
FVector2D |
ComputeDesiredSize ( |
Overwritten from SWidget. |
|
TSharedRef< ... |
CreateAccessibleWidget() |
|
|
GetDefaultAccessibleText ( |
Assign AccessibleText with a default value that can be used when AccessibleBehavior is set to Auto or Custom. |
|
|
int32 |
OnPaint ( |
Overwritten from SWidget. |
Name | Description | ||
---|---|---|---|
|
const FSlate... |
GetWidgetClass() |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
PrivateParentType |
|
PrivateThisType |
|
Super |
|
ThisClass |
Name | Description | ||
---|---|---|---|
|
ETextTransfo... |
GetTransformPolicy() |
GetTransformPolicy is not accessible anymore since it's attribute value may not have been updated yet. |