FControlData

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 FControlData

Remarks

The settings and current state of each zone we render

Variables

Name Description

Public variable

bool

 

bHasBeenPositioned

Whether or not we need position the control against the geometry

Public variable

bool

 

bNeedUpdatedCenter

Whether or not to update center position

Public variable

bool

 

bSendOneMoreEvent

Whether or not to send one last "release" event next tick

Public variable

int32

 

CapturedPointerIndex

Which pointer index is interacting with this control right now, or -1 if not interacting

Public variable

FVector2D

 

CorrectedCenter

The corrected actual center of the control

Public variable

FVector2D

 

CorrectedInputScale

The corrected scale for control input

Public variable

FVector2D

 

CorrectedInteractionSize

The corrected size of a the interactable area around Center

Public variable

FVector2D

 

CorrectedThumbSize

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

Public variable

FVector2D

 

CorrectedVisualSize

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

Public variable

float

 

ElapsedTime

Time to activate joystick

Public variable

FControlInfo

 

Info

Control settings

Public variable

FVector2D

 

NextCenter

Visual center to be updated

Public variable

FVector2D

 

ThumbPosition

The position of the thumb, in relation to the VisualCenter

Public variable

FVector2D

 

VisualCenter

For recentered joysticks, this is the re-center location

Functions

Name Description

Public function

void

 

Reset()

Reset the control to a centered/inactive state

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