G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FTouchInputControl Struct Reference

Public Member Functions

Functions
FTouchInputControl & opAssign (FTouchInputControl Other)

Public Attributes

Control
FVector2D ThumbSize
 For sticks, the size of the thumb (if <= 1.0, it's relative to screen, > 1.0 is absolute).
UTexture2D Image1
 For sticks, this is the Thumb.
UTexture2D Image2
 For sticks, this is the Background.
FVector2D Center
 The initial center point of the control. If Time Until Reset is < 0, control resets back to here. Use 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 VisualSize
 The size of the control (if <= 1.0, it's relative to screen, > 1.0 is absolute).
bool bTreatAsButton
 Set this to true to treat the joystick as a simple button.
FVector2D InteractionSize
 The interactive size of the control. Measured outward from Center. (if <= 1.0, it's relative to screen, > 1.0 is absolute).
FVector2D InputScale
 The scale for control input.
FKey MainInputKey
 The main input to send from this control (for sticks, this is the horizontal axis).
FKey AltInputKey
 The alternate input to send from this control (for sticks, this is the vertical axis).

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ AltInputKey

FKey AltInputKey

The alternate input to send from this control (for sticks, this is the vertical axis).

◆ bTreatAsButton

bool bTreatAsButton

Set this to true to treat the joystick as a simple button.

◆ Center

FVector2D Center

The initial center point of the control. If Time Until Reset is < 0, control resets back to here. Use negative numbers to invert positioning from top to bottom, left to right. (if <= 1.0, it's relative to screen, > 1.0 is absolute).

◆ Image1

UTexture2D Image1

For sticks, this is the Thumb.

◆ Image2

UTexture2D Image2

For sticks, this is the Background.

◆ InputScale

FVector2D InputScale

The scale for control input.

◆ InteractionSize

FVector2D InteractionSize

The interactive size of the control. Measured outward from Center. (if <= 1.0, it's relative to screen, > 1.0 is absolute).

◆ MainInputKey

FKey MainInputKey

The main input to send from this control (for sticks, this is the horizontal axis).

◆ ThumbSize

FVector2D ThumbSize

For sticks, the size of the thumb (if <= 1.0, it's relative to screen, > 1.0 is absolute).

◆ VisualSize

FVector2D VisualSize

The size of the control (if <= 1.0, it's relative to screen, > 1.0 is absolute).