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

#include <VirtualControlSetup.h>

Public Member Functions

bool IsParent () const
void ClearLinkData ()
 FVirtualControl ()
 FVirtualControl (EControlType InType)

Public Attributes

 Category ="Virtual Control"
 EditAnywhere
BlueprintReadWrite FName ControlName
 BlueprintReadOnly
 meta
BlueprintReadWrite uint8 bStartHidden:1
BlueprintReadWrite uint8 bRecenterOnTouch:1
BlueprintReadWrite uint8 bBlockTouchRegion:1
BlueprintReadWrite FVector2D LandscapeCenter
BlueprintReadWrite FVector2D PortraitCenter
BlueprintReadWrite uint8 bAllowPositionModification:1
BlueprintReadWrite FVector4f MaxPositionOffset
BlueprintReadOnly FVector2D CurrentPositionOffset
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 uint8 bAllowSizeModification:1
BlueprintReadWrite FVector2D SizeScale
BlueprintReadOnly float CurrentSizeScale
BlueprintReadWrite EHitTestType InteractionShape
 BlueprintReadWrite
BlueprintReadWrite EControlType Type
Instanced TArray< TObjectPtr< ULCInputModifier > > Modifiers
BlueprintReadOnly TArray< TSubclassOf< UVirtualInputEvent > > VirtualInputEvent
BlueprintReadWrite UInputAction * ButtonAction
BlueprintReadWrite FVector2D ThumbSize
BlueprintReadWrite UInputAction * JoystickAction
BlueprintReadWrite uint8 bClampJoystickPosition:1
BlueprintReadWrite uint8 bJoystickMode:1
BlueprintReadWrite uint8 bBlockMultitouchInput:1

Constructor & Destructor Documentation

◆ FVirtualControl() [1/2]

FVirtualControl::FVirtualControl ( )
inline

Default constructor

◆ FVirtualControl() [2/2]

FVirtualControl::FVirtualControl ( EControlType InType)
inlineexplicit

Member Function Documentation

◆ ClearLinkData()

void FVirtualControl::ClearLinkData ( )
inline

◆ IsParent()

bool FVirtualControl::IsParent ( ) const
inline

Member Data Documentation

◆ bAllowPositionModification

BlueprintReadWrite uint8 FVirtualControl::bAllowPositionModification

◆ bAllowSizeModification

BlueprintReadWrite uint8 FVirtualControl::bAllowSizeModification

◆ bBlockMultitouchInput

BlueprintReadWrite uint8 FVirtualControl::bBlockMultitouchInput

◆ bBlockTouchRegion

BlueprintReadWrite uint8 FVirtualControl::bBlockTouchRegion

◆ bClampJoystickPosition

BlueprintReadWrite uint8 FVirtualControl::bClampJoystickPosition

◆ bEnableBackgroundBlur

BlueprintReadOnly uint8 FVirtualControl::bEnableBackgroundBlur

◆ bIsChild

BlueprintReadOnly uint8 FVirtualControl::bIsChild

◆ bJoystickMode

BlueprintReadWrite uint8 FVirtualControl::bJoystickMode

◆ BlueprintReadOnly

FVirtualControl::BlueprintReadOnly

◆ BlueprintReadWrite

FVirtualControl::BlueprintReadWrite

◆ bMoveWhenParentRecenter

BlueprintReadOnly uint8 FVirtualControl::bMoveWhenParentRecenter

◆ bRecenterOnTouch

BlueprintReadWrite uint8 FVirtualControl::bRecenterOnTouch

◆ bStartHidden

BlueprintReadWrite uint8 FVirtualControl::bStartHidden

◆ ButtonAction

BlueprintReadWrite UInputAction* FVirtualControl::ButtonAction

◆ Category

FVirtualControl::Category ="Virtual Control"

Name of control (used both in editor and runtime)

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)

Max position offset in runtime configurator Top, Right, Bottom, Left

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

Add a blur on background (do not affect visual layer on virtual input) You should enable backbuffer on opengl (android settings) If background blur not allowed, do nothing

Visual for control. Configure visual with bitflag

The size of the control. It's absolute

Min and Max size scale in runtime configurator X = Min Scale, Y = Max Scale

Select the interaction shape to detect hit

The interactive size of the control if square. It's absolute

The control's interaction size if it's a circle. It's absolute

Define the type of control. Used internally

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

If enabled, Touch Region act like joystick (send input continuously) You must add the 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

If enabled, input action is blocked if multitouch is detected. Virtual input event still receive multitouch input

◆ Children

BlueprintReadOnly TArray<FName> FVirtualControl::Children

◆ ControlName

BlueprintReadWrite FName FVirtualControl::ControlName

◆ CurrentPositionOffset

BlueprintReadOnly FVector2D FVirtualControl::CurrentPositionOffset

◆ CurrentSizeScale

BlueprintReadOnly float FVirtualControl::CurrentSizeScale

◆ EditAnywhere

FVirtualControl::EditAnywhere

◆ InteractionShape

BlueprintReadWrite EHitTestType FVirtualControl::InteractionShape

◆ JoystickAction

BlueprintReadWrite UInputAction* FVirtualControl::JoystickAction

◆ LandscapeCenter

BlueprintReadWrite FVector2D FVirtualControl::LandscapeCenter

◆ MaxPositionOffset

BlueprintReadWrite FVector4f FVirtualControl::MaxPositionOffset

◆ meta

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

◆ Modifiers

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

◆ ParentName

BlueprintReadOnly FName FVirtualControl::ParentName

◆ ParentOffset

BlueprintReadOnly FVector2D FVirtualControl::ParentOffset

◆ PortraitCenter

BlueprintReadWrite FVector2D FVirtualControl::PortraitCenter

◆ SizeScale

BlueprintReadWrite FVector2D FVirtualControl::SizeScale

◆ ThumbSize

BlueprintReadWrite FVector2D FVirtualControl::ThumbSize

◆ Type

BlueprintReadWrite EControlType FVirtualControl::Type

◆ VirtualInputEvent

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

◆ VisualLayers

BlueprintReadWrite TArray<FVisualLayer> FVirtualControl::VisualLayers

◆ VisualSize

BlueprintReadWrite FVector2D FVirtualControl::VisualSize

The documentation for this struct was generated from the following file:
  • D:/MEGA/TouchProject/TouchProjectNext/Plugins/TouchInterfaceDesigner/Source/TouchInterface/Public/TouchInterface/VirtualControlSetup.h