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


Public Member Functions | |
| UWidgetLayer () | |
| virtual void | Initialize (TObjectPtr< ULayoutComponent > Component) override |
| virtual TSharedRef< SWidget > | CreateWidgetInstance () override |
| BlueprintPure UUserWidget * | GetUserWidget () |
| BlueprintCallable void | SetUserWidget (TSubclassOf< UUserWidget > NewUserWidget) |
| virtual void | HandleOnPressEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent) override |
| virtual void | HandleOnReleaseEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent) override |
| virtual void | HandleOnMoveEvent (const FGeometry &ComponentGeometry, const FGeometry &LayoutGeometry, const FPointerEvent &PointerEvent) |
| virtual void | HandleOnTickEvent (const FGeometry &ComponentGeometry, const double InCurrentTime, const float DeltaTime) |
| Public Member Functions inherited from UComponentDecorator | |
| UComponentDecorator () | |
| virtual void | BeginDestroy () override |
| 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 ="Widget 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 Attributes inherited from UComponentDecorator | |
| uint8 | bIsVisible:1 |
| uint8 | bGeneratedByLayoutComponentLogic:1 |
| TObjectPtr< ULayoutComponent > | Owner |
| TSharedPtr< SWidget > | DecoratorWidget |
| UWidgetLayer::UWidgetLayer | ( | ) |
|
overridevirtual |
Create widget
Reimplemented from UComponentDecorator.
| UUserWidget * UWidgetLayer::GetUserWidget | ( | ) |
|
virtual |
|
overridevirtual |
Reimplemented from UComponentDecorator.
|
overridevirtual |
Reimplemented from UComponentDecorator.
|
virtual |
|
overridevirtual |
Reimplemented from UComponentDecorator.
| void UWidgetLayer::SetUserWidget | ( | TSubclassOf< UUserWidget > | NewUserWidget | ) |
| UWidgetLayer::BlueprintCallable |
| UWidgetLayer::BlueprintReadOnly |
| UWidgetLayer::Category ="Widget Layer" |
Set the new UUserWidget class Please be careful! For the moment, this means forcing the complete reconstruction of the layout component
UserWidget added to component The visibility is automatically set to HitTestInvisible to not interfere with layout widget
| UWidgetLayer::EditAnywhere |
| UWidgetLayer::meta |