unreal.TouchInputControl

class unreal.TouchInputControl

Bases: unreal.StructBase

Touch Input Control

C++ Source:

  • Module: Engine
  • File: TouchInterface.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alt_input_key (Key): [Read-Write] The alternate input to send from this control (for sticks, this is the vertical axis)
  • center (Vector2D): [Read-Write] The center point of the control (if <= 1.0, it’s relative to screen, > 1.0 is absolute)
  • image1 (Texture2D): [Read-Write] For sticks, this is the Thumb
  • image2 (Texture2D): [Read-Write] For sticks, this is the Background
  • input_scale (Vector2D): [Read-Write] The scale for control input
  • interaction_size (Vector2D): [Read-Write] The interactive size of the control (if <= 1.0, it’s relative to screen, > 1.0 is absolute)
  • main_input_key (Key): [Read-Write] The main input to send from this control (for sticks, this is the horizontal axis)
  • thumb_size (Vector2D): [Read-Write] For sticks, the size of the thumb (if <= 1.0, it’s relative to screen, > 1.0 is absolute)
  • visual_size (Vector2D): [Read-Write] The size of the control (if <= 1.0, it’s relative to screen, > 1.0 is absolute)