InputEventScreenDrag

Inherits: InputEvent < Resource < Reference < Object

Category: Core

Brief Description

Input event type for screen drag events.

Member Functions

int get_index ( ) const
Vector2 get_position ( ) const
Vector2 get_relative ( ) const
Vector2 get_speed ( ) const
void set_index ( int index )
void set_position ( Vector2 position )
void set_relative ( Vector2 relative )
void set_speed ( Vector2 speed )

Member Variables

  • int index - Drag event index in the case of a multi-drag event.
  • Vector2 position - Position of the drag event.
  • Vector2 relative - Position of the drag event relative to its start position.
  • Vector2 speed - Speed of the drag event.

Member Function Description

  • int get_index ( ) const
  • void set_index ( int index )
  • void set_position ( Vector2 position )
  • void set_relative ( Vector2 relative )