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] Alt Input Key: The alternate input to send from this control (for sticks, this is the vertical axis)

  • center (Vector2D): [Read-Write] Center: The center point of the control (if <= 1.0, it’s relative to screen, > 1.0 is absolute)

  • image1 (Texture2D): [Read-Write] Image 1: For sticks, this is the Thumb

  • image2 (Texture2D): [Read-Write] Image 2: For sticks, this is the Background

  • input_scale (Vector2D): [Read-Write] Input Scale: The scale for control input

  • interaction_size (Vector2D): [Read-Write] Interaction Size: The interactive size of the control (if <= 1.0, it’s relative to screen, > 1.0 is absolute)

  • main_input_key (Key): [Read-Write] Main Input Key: The main input to send from this control (for sticks, this is the horizontal axis)

  • thumb_size (Vector2D): [Read-Write] Thumb Size: For sticks, the size of the thumb (if <= 1.0, it’s relative to screen, > 1.0 is absolute)

  • visual_size (Vector2D): [Read-Write] Visual Size: The size of the control (if <= 1.0, it’s relative to screen, > 1.0 is absolute)