Touch Interface Designer 2025.2
Create touch interface with a visual editor and manage all mobile inputs like gestures
Loading...
Searching...
No Matches
UFreeTouchLogic Class Reference

#include <FreeTouchLogic.h>

Inheritance diagram for UFreeTouchLogic:
Collaboration diagram for UFreeTouchLogic:

Public Member Functions

 UFreeTouchLogic ()
virtual void Initialize_Implementation () override
virtual void SetInputAction_Implementation (UInputAction *NewInputAction) override
Public Member Functions inherited from UMultitouchLogic
 UMultitouchLogic ()

Public Attributes

 Category ="Free Touch"
 EditAnywhere
BlueprintReadWrite UInputAction * InputAction
BlueprintReadWrite uint8 bBlockInputActionDuringGesture:1
BlueprintReadWrite uint8 bFloatingJoystick:1
 BlueprintReadWrite
 meta

Protected Member Functions

virtual void OnPress_Implementation (const FGeometry &ComponentGeometry, const FPointerEvent &PointerEvent) override
virtual void OnMove_Implementation (const FGeometry &ComponentGeometry, const FPointerEvent &PointerEvent) override
virtual void OnRelease_Implementation (const FGeometry &ComponentGeometry, const FPointerEvent &PointerEvent) override
Protected Member Functions inherited from UMultitouchLogic
virtual void OnTick_Implementation (const FGeometry &ComponentGeometry, const FPointerEvent &PointerEvent, const double InCurrentTime, const float InDeltaTime) override
BlueprintCallable void SetSupportGesture (const bool bEnable)

Additional Inherited Members

Protected Attributes inherited from UMultitouchLogic
 Category ="Multitouch"

Constructor & Destructor Documentation

◆ UFreeTouchLogic()

UFreeTouchLogic::UFreeTouchLogic ( )

Member Function Documentation

◆ Initialize_Implementation()

void UFreeTouchLogic::Initialize_Implementation ( )
overridevirtual

Reimplemented from UMultitouchLogic.

◆ OnMove_Implementation()

void UFreeTouchLogic::OnMove_Implementation ( const FGeometry & ComponentGeometry,
const FPointerEvent & PointerEvent )
overrideprotectedvirtual

Reimplemented from UMultitouchLogic.

◆ OnPress_Implementation()

void UFreeTouchLogic::OnPress_Implementation ( const FGeometry & ComponentGeometry,
const FPointerEvent & PointerEvent )
overrideprotectedvirtual

Reimplemented from UMultitouchLogic.

◆ OnRelease_Implementation()

void UFreeTouchLogic::OnRelease_Implementation ( const FGeometry & ComponentGeometry,
const FPointerEvent & PointerEvent )
overrideprotectedvirtual

Reimplemented from UMultitouchLogic.

◆ SetInputAction_Implementation()

void UFreeTouchLogic::SetInputAction_Implementation ( UInputAction * NewInputAction)
overridevirtual

Member Data Documentation

◆ bBlockInputActionDuringGesture

BlueprintReadWrite uint8 UFreeTouchLogic::bBlockInputActionDuringGesture

◆ bFloatingJoystick

BlueprintReadWrite uint8 UFreeTouchLogic::bFloatingJoystick

◆ BlueprintReadWrite

UFreeTouchLogic::BlueprintReadWrite

◆ Category

UFreeTouchLogic::Category ="Free Touch"

If enabled, create floating joystick at press position and sent input like joystick logic. I recommend to add smooth modifier.

If enabled, normalize input from -1 to 1 based on joystick size. If disabled, use offset as input. You should use smooth modifier!

The minimum value of the delta (offset between the position of the finger between each frame) to send an event (input). Leave at 0 to disable this feature

◆ EditAnywhere

UFreeTouchLogic::EditAnywhere

◆ InputAction

BlueprintReadWrite UInputAction* UFreeTouchLogic::InputAction

◆ meta

UFreeTouchLogic::meta
Initial value:
=(EditCondition="bFloatingJoystick==true", EditConditionHides))
uint8 bUseJoystickSize:1

The documentation for this class was generated from the following files:
  • D:/MEGA/TouchProject/TouchProjectNext/Plugins/TouchInterfaceDesigner/Source/TouchInterface/Public/Logics/FreeTouchLogic.h
  • D:/MEGA/TouchProject/TouchProjectNext/Plugins/TouchInterfaceDesigner/Source/TouchInterface/Private/Logics/FreeTouchLogic.cpp