Touch Interface Designer 2025.2
Create touch interface with a visual editor and manage all mobile inputs like gestures
Loading...
Searching...
No Matches
ILayoutToWidget.h
Go to the documentation of this file.
1// Copyright 2025 Lost in Game Studio. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/Interface.h"
7#include "ILayoutToWidget.generated.h"
8
9// This class does not need to be modified.
10UINTERFACE(BlueprintType)
11class ULayoutToWidget : public UInterface
12{
13 GENERATED_BODY()
14};
15
17class TOUCHINTERFACE_API ILayoutToWidget
18{
19 GENERATED_BODY()
20
21 // Add interface functions to this class. This is the class that will be inherited to implement this interface.
22public:
23
24 UFUNCTION(Category="Layout To Widget Interface", BlueprintCallable, BlueprintImplementableEvent)
25 void OnTouchBegin(const FGeometry& ParentGeometry, const FPointerEvent& PointerEvent);
26
27 UFUNCTION(Category="Layout To Widget Interface", BlueprintCallable, BlueprintImplementableEvent)
28 void OnTouchMove(const FGeometry& ParentGeometry, const FPointerEvent& PointerEvent);
29
30 UFUNCTION(Category="Layout To Widget Interface", BlueprintCallable, BlueprintImplementableEvent)
31 void OnTouchEnd(const FGeometry& ParentGeometry, const FPointerEvent& PointerEvent);
32
33 //TODO: Other data like position or size changed, init, deinit, etc?
34};
BlueprintType
Definition ComponentDecorator_Animation.h:40
Definition ILayoutToWidget.h:18
BlueprintCallable
Definition ILayoutToWidget.h:24
Category
Definition ILayoutToWidget.h:24
BlueprintImplementableEvent void OnTouchMove(const FGeometry &ParentGeometry, const FPointerEvent &PointerEvent)
BlueprintImplementableEvent void OnTouchBegin(const FGeometry &ParentGeometry, const FPointerEvent &PointerEvent)
BlueprintImplementableEvent void OnTouchEnd(const FGeometry &ParentGeometry, const FPointerEvent &PointerEvent)
Definition ILayoutToWidget.h:12