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

#include <VirtualInputAutoMove.h>

Inheritance diagram for UVirtualInputAutoMove:
Collaboration diagram for UVirtualInputAutoMove:

Public Member Functions

virtual bool IsCompatible (EControlType InputType) const override
Public Member Functions inherited from UVirtualInputEvent
 UVirtualInputEvent ()
BlueprintNativeEvent void Initialize ()
BlueprintNativeEvent void Deinitialize ()
bool ShouldTick () const
void SetButtonName (const FName Name)
void SetOuter (UWorld *Outer)
void AssignLocalPlayer (ULocalPlayer *Player, TSharedPtr< SVirtualControl > Widget)
BlueprintNativeEvent void OnTouchBegin (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime)
BlueprintNativeEvent void OnTouchMove (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration)
BlueprintNativeEvent void OnTouchEnd (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration)
BlueprintNativeEvent void OnTick (const FGeometry &Geometry, const double CurrentTime, const float DeltaTime)
BlueprintPure APawn * GetPawn ()
BlueprintPure APlayerController * GetPlayerController ()
BlueprintPure FName GetButtonName ()
BlueprintPure void GetVisualLayers (TArray< FVisualLayer > &VisualLayers)
BlueprintPure TArray< FVisualLayer > & GetVisualLayersRef ()
BlueprintPure bool GetVisualLayerByName (const FName Name, FVisualLayer &VisualLayer)
BlueprintPure FVisualLayerGetVisualLayerRefByName (const FName Name)
BlueprintCallable void SetVisualLayers (TArray< FVisualLayer > VisualLayers)
BlueprintCallable void SetVisualLayer (const FVisualLayer &VisualLayer, const FName Name=NAME_None)
BlueprintCallable FName AddNewLayer (FName LayerName, FVisualLayer Visual)
BlueprintCallable FName InsertLayerAt (FName LayerName, const int32 Index, FVisualLayer Visual)
BlueprintCallable void RemoveLayer (const FName LayerName)
BlueprintPure bool GetVirtualInput (FVirtualControl &VirtualInput)
virtual UWorld * GetWorld () const override
UTouchInterfaceSubsystemGetTouchInterfaceSubsystem ()
ULocalPlayer * GetLocalPlayer ()
TSharedPtr< SVirtualControlGetVirtualControlWidget ()

Public Attributes

 Category =Settings
 EditAnywhere
 BlueprintReadOnly
 meta
BlueprintReadOnly FVisualLayer LockIcon
Public Attributes inherited from UVirtualInputEvent
 Category ="Virtual Input Event"
 BlueprintCallable

Protected Member Functions

virtual void Initialize_Implementation () override
virtual void OnTouchBegin_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime) override
virtual void OnTouchMove_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration) override
virtual void OnTouchEnd_Implementation (const FGeometry &Geometry, const FPointerEvent &PointerEvent, const float CurrentTime, const float PressDuration) override
virtual void OnTick_Implementation (const FGeometry &Geometry, const double CurrentTime, const float DeltaTime) override
Protected Member Functions inherited from UVirtualInputEvent
virtual void Deinitialize_Implementation ()
BlueprintCallable void SetTickEnabled (const bool bEnable)

Member Function Documentation

◆ Initialize_Implementation()

void UVirtualInputAutoMove::Initialize_Implementation ( )
overrideprotectedvirtual

Reimplemented from UVirtualInputEvent.

◆ IsCompatible()

bool UVirtualInputAutoMove::IsCompatible ( EControlType InputType) const
overridevirtual

Whether or not the thumb should be recenter on end touch

Reimplemented from UVirtualInputEvent.

◆ OnTick_Implementation()

void UVirtualInputAutoMove::OnTick_Implementation ( const FGeometry & Geometry,
const double CurrentTime,
const float DeltaTime )
overrideprotectedvirtual

Reimplemented from UVirtualInputEvent.

◆ OnTouchBegin_Implementation()

void UVirtualInputAutoMove::OnTouchBegin_Implementation ( const FGeometry & Geometry,
const FPointerEvent & PointerEvent,
const float CurrentTime )
overrideprotectedvirtual

Reimplemented from UVirtualInputEvent.

◆ OnTouchEnd_Implementation()

void UVirtualInputAutoMove::OnTouchEnd_Implementation ( const FGeometry & Geometry,
const FPointerEvent & PointerEvent,
const float CurrentTime,
const float PressDuration )
overrideprotectedvirtual

Reimplemented from UVirtualInputEvent.

◆ OnTouchMove_Implementation()

void UVirtualInputAutoMove::OnTouchMove_Implementation ( const FGeometry & Geometry,
const FPointerEvent & PointerEvent,
const float CurrentTime,
const float PressDuration )
overrideprotectedvirtual

Reimplemented from UVirtualInputEvent.

Member Data Documentation

◆ BlueprintReadOnly

UVirtualInputAutoMove::BlueprintReadOnly

◆ Category

UVirtualInputAutoMove::Category =Settings

The minimum value of joystick (vector length) to trigger auto move.

The max value tolerated for auto move detection (AngleDelta When Hold). A value of 0.98 seems correct with Fingers. Use a value of 1 for mouse.

The amount of time in seconds you hold a joystick to one direction before it trigger auto move. A value of 0 disable this feature

Image for lock icon when auto move is enabled

◆ EditAnywhere

UVirtualInputAutoMove::EditAnywhere

◆ LockIcon

BlueprintReadOnly FVisualLayer UVirtualInputAutoMove::LockIcon

◆ meta

UVirtualInputAutoMove::meta
Initial value:
=(ClampMin=0.0f, ClampMax=1.0f, UIMin=0.0f, UIMax=1.0f))
float AutoMoveThreshold = 0.95f

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