Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SVirtualJoystick
The settings of each zone we render
| Name | FControlInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SVirtualJoystick.h |
| Include Path | #include "Widgets/Input/SVirtualJoystick.h" |
Syntax
struct FControlInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AltInputKey | FKey | The secondary input (for sticks, this is the vertical/Y input, unused for buttons) | Widgets/Input/SVirtualJoystick.h | |
| bTreatAsButton | bool | If true, this joystick will be treated as a simple press-release button | Widgets/Input/SVirtualJoystick.h | |
| Center | FVector2D | The actual center of the control | Widgets/Input/SVirtualJoystick.h | |
| Image1 | TSharedPtr< ISlateBrushSource > | The brush to use to draw the background for joysticks, or unclicked for buttons | Widgets/Input/SVirtualJoystick.h | |
| Image2 | TSharedPtr< ISlateBrushSource > | The brush to use to draw the thumb for joysticks, or clicked for buttons | Widgets/Input/SVirtualJoystick.h | |
| InputScale | FVector2D | The scale for control input | Widgets/Input/SVirtualJoystick.h | |
| InteractionSize | FVector2D | The size of a the interactable area around Center | Widgets/Input/SVirtualJoystick.h | |
| MainInputKey | FKey | The input to send from this control (for sticks, this is the horizontal/X input) | Widgets/Input/SVirtualJoystick.h | |
| ThumbSize | FVector2D | The size of the thumb that can be re-centered within InteractionSize area | Widgets/Input/SVirtualJoystick.h | |
| VisualSize | FVector2D | The size of a joystick that can be re-centered within InteractionSize area | Widgets/Input/SVirtualJoystick.h |