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

#include <VirtualInput.h>

Inheritance diagram for UVirtualInput:
Collaboration diagram for UVirtualInput:

Public Member Functions

 UVirtualInput ()
virtual TSharedRef< SVirtualControlTakeWidget (TSharedPtr< SDeprecatedTouchInterface > TouchInterface)
virtual void GetVirtualControl (FVirtualControl &VirtualControl)

Public Attributes

EControlType Type
FName InputName
 Category ="Virtual Input"
 EditAnywhere
 BlueprintReadOnly
 meta
 EditInstanceOnly
BlueprintReadWrite uint8 bStartHidden:1
BlueprintReadWrite uint8 bRecenterOnTouch:1
BlueprintReadWrite uint8 bBlockTouchRegion:1
BlueprintReadWrite FVector2D LandscapeCenter
BlueprintReadWrite FVector2D PortraitCenter
BlueprintReadOnly uint8 bIsChild:1
BlueprintReadOnly FName ParentName
BlueprintReadOnly FVector2D ParentOffset
BlueprintReadOnly uint8 bMoveWhenParentRecenter:1
BlueprintReadOnly TArray< FName > Children
BlueprintReadOnly uint8 bEnableBackgroundBlur:1
BlueprintReadWrite TArray< FVisualLayerVisualLayers
BlueprintReadWrite FVector2D VisualSize
BlueprintReadWrite EHitTestType InteractionShape
 BlueprintReadWrite
Instanced TArray< TObjectPtr< ULCInputModifier > > Modifiers
BlueprintReadOnly TArray< TSubclassOf< UVirtualInputEvent > > VirtualInputEvent
BlueprintReadWrite UInputAction * InputAction

Constructor & Destructor Documentation

◆ UVirtualInput()

UVirtualInput::UVirtualInput ( )

Member Function Documentation

◆ GetVirtualControl()

void UVirtualInput::GetVirtualControl ( FVirtualControl & VirtualControl)
virtual

◆ TakeWidget()

TSharedRef< SVirtualControl > UVirtualInput::TakeWidget ( TSharedPtr< SDeprecatedTouchInterface > TouchInterface)
virtual

Member Data Documentation

◆ bBlockTouchRegion

BlueprintReadWrite uint8 UVirtualInput::bBlockTouchRegion

◆ bEnableBackgroundBlur

BlueprintReadOnly uint8 UVirtualInput::bEnableBackgroundBlur

◆ bIsChild

BlueprintReadOnly uint8 UVirtualInput::bIsChild

◆ BlueprintReadOnly

UVirtualInput::BlueprintReadOnly

◆ BlueprintReadWrite

UVirtualInput::BlueprintReadWrite

◆ bMoveWhenParentRecenter

BlueprintReadOnly uint8 UVirtualInput::bMoveWhenParentRecenter

◆ bRecenterOnTouch

BlueprintReadWrite uint8 UVirtualInput::bRecenterOnTouch

◆ bStartHidden

BlueprintReadWrite uint8 UVirtualInput::bStartHidden

◆ Category

UVirtualInput::Category ="Virtual Input"

Global opacity of virtual control

If enabled, the control will be hidden when the interface is added to screen

If true, the control is re-centered when the user touches it. The maximum offset from origin is based on the interaction size.

If true, the control blocks the input from the touch region if it is placed in its interaction zone (no interaction on Touch Region)

The center point of the control in landscape mode. It's relative to screen size (0-1)

The center point of the control in portrait mode. It's relative to screen size (0-1)

True if this control is a child. Hidden in detail panel

Parent control name. Hidden in detail panel

The offset from parent control. It's absolute value

If true, child control keep same offset when parent recenter

Child virtual control data. Hidden in detail panel

Visual for control

The size of the control. It's absolute

Select the interaction shape to detect hit

Interactive size of virtual input if square. It's absolute

Interaction size of virtual input if circle. It's absolute

Modify the raw value of virtual input They are executed in the order in which they are added

Extends the functionality of this virtual input They are executed in the order in which they are added. This can be important

The Input Action to use

◆ Children

BlueprintReadOnly TArray<FName> UVirtualInput::Children

◆ EditAnywhere

UVirtualInput::EditAnywhere

◆ EditInstanceOnly

UVirtualInput::EditInstanceOnly

◆ InputAction

BlueprintReadWrite UInputAction* UVirtualInput::InputAction

◆ InputName

FName UVirtualInput::InputName

Name of control (used both in editor and runtime)

◆ InteractionShape

BlueprintReadWrite EHitTestType UVirtualInput::InteractionShape

◆ LandscapeCenter

BlueprintReadWrite FVector2D UVirtualInput::LandscapeCenter

◆ meta

UVirtualInput::meta
Initial value:
=(ClampMin=0.0f, ClampMax=1.0f))
float Opacity

◆ Modifiers

Instanced TArray<TObjectPtr<ULCInputModifier> > UVirtualInput::Modifiers

◆ ParentName

BlueprintReadOnly FName UVirtualInput::ParentName

◆ ParentOffset

BlueprintReadOnly FVector2D UVirtualInput::ParentOffset

◆ PortraitCenter

BlueprintReadWrite FVector2D UVirtualInput::PortraitCenter

◆ Type

EControlType UVirtualInput::Type

Define the type of control. Used internally

◆ VirtualInputEvent

BlueprintReadOnly TArray<TSubclassOf<UVirtualInputEvent> > UVirtualInput::VirtualInputEvent

◆ VisualLayers

BlueprintReadWrite TArray<FVisualLayer> UVirtualInput::VisualLayers

◆ VisualSize

BlueprintReadWrite FVector2D UVirtualInput::VisualSize

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