![]() |
Touch Interface Designer 2025.2
Create touch interface with a visual editor and manage all mobile inputs like gestures
|
#include <TextLayer.h>


Public Member Functions | |
| UTextLayer () | |
| virtual void | BeginDestroy () override |
| virtual TSharedRef< SWidget > | CreateWidgetInstance () override |
| BlueprintPure FText | GetText () const |
| BlueprintCallable void | SetText (const FText NewText) |
| BlueprintCallable void | SetTextAsInt (const int32 Number) |
| BlueprintCallable void | SetTextAsFloat (const float Value) |
| BlueprintCallable void | SetTextAsVector (const FVector Vector) |
| BlueprintCallable void | SetTextAsVector2D (const FVector2D Vector) |
| BlueprintCallable void | SetFont (const FSlateFontInfo InFont) |
| BlueprintCallable void | SetFontSize (const float NewSize) |
| BlueprintCallable void | SetColor (const FSlateColor NewColor) const |
| Public Member Functions inherited from UComponentDecorator | |
| UComponentDecorator () | |
| virtual void | Initialize (TObjectPtr< ULayoutComponent > Component) |
| virtual bool | CanAcceptChildren () |
| bool | IsInGroup () const |
| TSharedRef< SWidget > | GetWidget (const bool bForceReconstruct=true) |
| const TObjectPtr< ULayoutComponent > & | GetOwner () const |
| TObjectPtr< UComponentDecoratorGroup > | GetGroup () const |
| bool | EjectFromParent () |
| BlueprintPure FVector2D | GetSize () const |
| BlueprintPure FVector2D | GetAbsoluteSize () const |
| virtual BlueprintPure float | GetMaxHorizontalSize (bool bRecursive=false) const |
| virtual BlueprintPure float | GetMaxVerticalSize (bool bRecursive=false) const |
| BlueprintPure FVector2D | GetOffset () const |
| BlueprintPure float | GetRotation () const |
| BlueprintPure FSlateBrush | GetBrush () const |
| virtual BlueprintCallable void | SetBrushResource (UObject *Resource) |
| virtual BlueprintCallable void | SetBrush (const FSlateBrush InBrush) |
| virtual BlueprintCallable void | SetBrushOpacity (const float Value) |
| virtual BlueprintCallable void | SetSize (const FVector2D Value) |
| virtual BlueprintCallable void | SetOffset (FVector2D NewOffset) |
| virtual BlueprintCallable void | SetRotation (float Angle) |
| virtual BlueprintCallable void | SetDrawType (const EDrawType NewType) |
| virtual BlueprintCallable float | AddRotationDelta (float Delta) |
| virtual BlueprintCallable UMaterialInstanceDynamic * | GetDynamicMaterialInstance () |
| virtual BlueprintCallable void | ShowDecorator () |
| virtual BlueprintCallable void | HideDecorator () |
| virtual BlueprintCallable bool | IsVisible () const |
Public Attributes | |
| Category ="Text Layer" | |
| BlueprintCallable | |
| EditAnywhere | |
| BlueprintReadOnly | |
| meta | |
| Public Attributes inherited from UComponentDecorator | |
| Category ="Decorator" | |
| BlueprintCallable | |
| EditAnywhere | |
| BlueprintReadOnly uint8 | bStartHidden:1 |
| BlueprintReadOnly FSlateBrush | Brush |
| BlueprintReadOnly | |
| meta | |
| BlueprintReadOnly FVector2D | Offset |
| BlueprintReadOnly float | Rotation |
| BlueprintReadOnly EDrawType | DrawType |
| BlueprintReadOnly int32 | ZOrder |
| BlueprintReadOnly TEnumAsByte< EHorizontalAlignment > | HorizontalAlignment |
| BlueprintReadOnly TEnumAsByte< EVerticalAlignment > | VerticalAlignment |
| Instanced TArray< TObjectPtr< UComponentDecorator_Animation > > | Animations |
Additional Inherited Members | |
| Protected Member Functions inherited from UComponentDecorator | |
| virtual void | HandleOnPressEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent) |
| virtual void | HandleOnReleaseEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent) |
| Protected Attributes inherited from UComponentDecorator | |
| uint8 | bIsVisible:1 |
| uint8 | bGeneratedByLayoutComponentLogic:1 |
| TObjectPtr< ULayoutComponent > | Owner |
| TSharedPtr< SWidget > | DecoratorWidget |
| UTextLayer::UTextLayer | ( | ) |
|
overridevirtual |
Reimplemented from UComponentDecorator.
|
overridevirtual |
Create widget
Reimplemented from UComponentDecorator.
| FText UTextLayer::GetText | ( | ) | const |
| void UTextLayer::SetColor | ( | const FSlateColor | NewColor | ) | const |
| void UTextLayer::SetFont | ( | const FSlateFontInfo | InFont | ) |
| void UTextLayer::SetFontSize | ( | const float | NewSize | ) |
| void UTextLayer::SetText | ( | const FText | NewText | ) |
| void UTextLayer::SetTextAsFloat | ( | const float | Value | ) |
| void UTextLayer::SetTextAsInt | ( | const int32 | Number | ) |
| void UTextLayer::SetTextAsVector | ( | const FVector | Vector | ) |
| void UTextLayer::SetTextAsVector2D | ( | const FVector2D | Vector | ) |
| UTextLayer::BlueprintCallable |
| UTextLayer::BlueprintReadOnly |
| UTextLayer::Category ="Text Layer" |
| UTextLayer::EditAnywhere |
| UTextLayer::meta |