![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SVirtualJoystick.h>
Public Member Functions | |
| SLATE_API void | Reset () |
The settings and current state of each zone we render
| void SVirtualJoystick::FControlData::Reset | ( | ) |
Reset the control to a centered/inactive state
Whether or not we need position the control against the geometry
Whether or not to update center position
Whether or not to send one last "release" event next tick
| int32 SVirtualJoystick::FControlData::CapturedPointerIndex = -1 |
Which pointer index is interacting with this control right now, or -1 if not interacting
| FVector2D SVirtualJoystick::FControlData::CorrectedCenter = FVector2D::ZeroVector |
The corrected actual center of the control
| FVector2D SVirtualJoystick::FControlData::CorrectedInputScale = FVector2D::ZeroVector |
The corrected scale for control input
| FVector2D SVirtualJoystick::FControlData::CorrectedInteractionSize = FVector2D::ZeroVector |
The corrected size of a the interactable area around Center
| FVector2D SVirtualJoystick::FControlData::CorrectedThumbSize = FVector2D::ZeroVector |
The corrected size of the thumb that can be re-centered within InteractionSize area
| FVector2D SVirtualJoystick::FControlData::CorrectedVisualSize = FVector2D::ZeroVector |
The corrected size of a joystick that can be re-centered within InteractionSize area
| float SVirtualJoystick::FControlData::ElapsedTime = 0.0f |
Time to activate joystick
| FControlInfo SVirtualJoystick::FControlData::Info |
Control settings
| FVector2D SVirtualJoystick::FControlData::NextCenter = FVector2D::ZeroVector |
Visual center to be updated
| FVector2D SVirtualJoystick::FControlData::ThumbPosition = FVector2D::ZeroVector |
The position of the thumb, in relation to the VisualCenter
| FVector2D SVirtualJoystick::FControlData::VisualCenter = FVector2D::ZeroVector |
For recentered joysticks, this is the re-center location