FControlInfo

The settings and current state of each zone we render

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SVirtualJoystick.h

Include

#include "Widgets/Input/SVirtualJoystick.h"

Syntax

struct FControlInfo

Remarks

The settings and current state of each zone we render

Variables

Name Description

Public variable

FKey

 

AltInputKey

The secondary input (for sticks, this is the vertical/Y input, unused for buttons)

Public variable

FVector2D

 

Center

The actual center of the control

Public variable

TSharedPtr< ISl...

 

Image1

The brush to use to draw the background for joysticks, or unclicked for buttons

Public variable

TSharedPtr< ISl...

 

Image2

The brush to use to draw the thumb for joysticks, or clicked for buttons

Public variable

FVector2D

 

InputScale

The scale for control input

Public variable

FVector2D

 

InteractionSize

The size of a the interactable area around Center

Public variable

FKey

 

MainInputKey

The input to send from this control (for sticks, this is the horizontal/X input)

Public variable

FVector2D

 

PositionedCenter

Positioned center in viewport

Public variable

FVector2D

 

ThumbSize

The size of the thumb that can be re-centered within InteractionSize area

Public variable

FVector2D

 

VisualSize

The size of a joystick that can be re-centered within InteractionSize area

Constructors

Name Description

Public function

FControlInfo()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss