![]() |
Touch Interface Designer 2025.2
Create touch interface with a visual editor and manage all mobile inputs like gestures
|
#include <VirtualControlSetup.h>
Public Member Functions | |
| bool | IsParent () const |
| void | ClearLinkData () |
| FVirtualControl () | |
| FVirtualControl (EControlType InType) | |
|
inline |
Default constructor
|
inlineexplicit |
|
inline |
|
inline |
| BlueprintReadWrite uint8 FVirtualControl::bAllowPositionModification |
| BlueprintReadWrite uint8 FVirtualControl::bAllowSizeModification |
| BlueprintReadWrite uint8 FVirtualControl::bBlockMultitouchInput |
| BlueprintReadWrite uint8 FVirtualControl::bBlockTouchRegion |
| BlueprintReadWrite uint8 FVirtualControl::bClampJoystickPosition |
| BlueprintReadOnly uint8 FVirtualControl::bEnableBackgroundBlur |
| BlueprintReadOnly uint8 FVirtualControl::bIsChild |
| BlueprintReadWrite uint8 FVirtualControl::bJoystickMode |
| FVirtualControl::BlueprintReadOnly |
| FVirtualControl::BlueprintReadWrite |
| BlueprintReadOnly uint8 FVirtualControl::bMoveWhenParentRecenter |
| BlueprintReadWrite uint8 FVirtualControl::bRecenterOnTouch |
| BlueprintReadWrite uint8 FVirtualControl::bStartHidden |
| BlueprintReadWrite UInputAction* FVirtualControl::ButtonAction |
| 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
| BlueprintReadOnly TArray<FName> FVirtualControl::Children |
| BlueprintReadWrite FName FVirtualControl::ControlName |
| BlueprintReadOnly FVector2D FVirtualControl::CurrentPositionOffset |
| BlueprintReadOnly float FVirtualControl::CurrentSizeScale |
| FVirtualControl::EditAnywhere |
| BlueprintReadWrite EHitTestType FVirtualControl::InteractionShape |
| BlueprintReadWrite UInputAction* FVirtualControl::JoystickAction |
| BlueprintReadWrite FVector2D FVirtualControl::LandscapeCenter |
| BlueprintReadWrite FVector4f FVirtualControl::MaxPositionOffset |
| FVirtualControl::meta |
| Instanced TArray<TObjectPtr<ULCInputModifier> > FVirtualControl::Modifiers |
| BlueprintReadOnly FName FVirtualControl::ParentName |
| BlueprintReadOnly FVector2D FVirtualControl::ParentOffset |
| BlueprintReadWrite FVector2D FVirtualControl::PortraitCenter |
| BlueprintReadWrite FVector2D FVirtualControl::SizeScale |
| BlueprintReadWrite FVector2D FVirtualControl::ThumbSize |
| BlueprintReadWrite EControlType FVirtualControl::Type |
| BlueprintReadOnly TArray<TSubclassOf<UVirtualInputEvent> > FVirtualControl::VirtualInputEvent |
| BlueprintReadWrite TArray<FVisualLayer> FVirtualControl::VisualLayers |
| BlueprintReadWrite FVector2D FVirtualControl::VisualSize |