UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FTouchInputControl Struct Reference

#include <TouchInterface.h>

Public Member Functions

 UPROPERTY (EditAnywhere, Category="Control", meta=(ToolTip="The initial center point of the control. If Time Until Reset is < 0, control resets back to here.\nUse negative numbers to invert positioning from top to bottom, left to right. (if <= 1.0, it's relative to screen, > 1.0 is absolute)")) FVector2D Center
 
 UPROPERTY (EditAnywhere, Category="Control", meta=(ToolTip="The size of the control (if <= 1.0, it's relative to screen, > 1.0 is absolute)")) FVector2D VisualSize
 
 UPROPERTY (EditAnywhere, Category="Control", meta=(ToolTip="For sticks, the size of the thumb (if <= 1.0, it's relative to screen, > 1.0 is absolute)")) FVector2D ThumbSize
 
 UPROPERTY (EditAnywhere, Category="Control", meta=(ToolTip="The interactive size of the control. Measured outward from Center. (if <= 1.0, it's relative to screen, > 1.0 is absolute)")) FVector2D InteractionSize
 
 UPROPERTY (EditAnywhere, Category="Control", meta=(ToolTip="The main input to send from this control (for sticks, this is the horizontal axis)")) FKey MainInputKey
 
 UPROPERTY (EditAnywhere, Category="Control", meta=(ToolTip="The alternate input to send from this control (for sticks, this is the vertical axis)")) FKey AltInputKey
 
 FTouchInputControl ()
 

Public Attributes

bool bTreatAsButton = false
 
TObjectPtr< UTexture2DImage1
 
TObjectPtr< UTexture2DImage2
 
FVector2D InputScale
 

Constructor & Destructor Documentation

◆ FTouchInputControl()

FTouchInputControl::FTouchInputControl ( )
inline

Member Function Documentation

◆ UPROPERTY() [1/6]

FTouchInputControl::UPROPERTY ( EditAnywhere  ,
Category  = "Control",
meta  = (ToolTip="For sticks, the size of the thumb (if <= 1.0, it's relative to screen, > 1.0 is absolute)") 
)

◆ UPROPERTY() [2/6]

FTouchInputControl::UPROPERTY ( EditAnywhere  ,
Category  = "Control",
meta  = (ToolTip="The alternate input to send from this control (for sticks, this is the vertical axis)") 
)

◆ UPROPERTY() [3/6]

FTouchInputControl::UPROPERTY ( EditAnywhere  ,
Category  = "Control",
meta  = (ToolTip="The initial center point of the control. If Time Until Reset is < 0, control resets back to here.\nUse negative numbers to invert positioning from top to bottom, left to right. (if <= 1.0, it's relative to screen, > 1.0 is absolute)") 
)

◆ UPROPERTY() [4/6]

FTouchInputControl::UPROPERTY ( EditAnywhere  ,
Category  = "Control",
meta  = (ToolTip="The interactive size of the control. Measured outward from Center. (if <= 1.0, it's relative to screen, > 1.0 is absolute)") 
)

◆ UPROPERTY() [5/6]

FTouchInputControl::UPROPERTY ( EditAnywhere  ,
Category  = "Control",
meta  = (ToolTip="The main input to send from this control (for sticks, this is the horizontal axis)") 
)

◆ UPROPERTY() [6/6]

FTouchInputControl::UPROPERTY ( EditAnywhere  ,
Category  = "Control",
meta  = (ToolTip="The size of the control (if <= 1.0, it's relative to screen, > 1.0 is absolute)") 
)

Member Data Documentation

◆ bTreatAsButton

bool FTouchInputControl::bTreatAsButton = false

◆ Image1

TObjectPtr<UTexture2D> FTouchInputControl::Image1

◆ Image2

TObjectPtr<UTexture2D> FTouchInputControl::Image2

◆ InputScale

FVector2D FTouchInputControl::InputScale

The documentation for this struct was generated from the following file: