Object TInputMotion

Methods
Properties

Unit

Declaration

type TInputMotion = object(TObject)

Description

Motion (movement) of mouse or a finger on a touch device.

Hierarchy

  • TObject
  • TInputMotion

Overview

Fields

Public OldPosition: TVector2;
Public Position: TVector2;
Public Pressed: TCastleMouseButtons;
Public FingerIndex: TFingerIndex;

Description

Fields

Public OldPosition: TVector2;

Old and new positions of the mouse or finger. In the same coordinate system as TInputPressRelease.Position.

Public Position: TVector2;

Old and new positions of the mouse or finger. In the same coordinate system as TInputPressRelease.Position.

Public Pressed: TCastleMouseButtons;

Currently pressed mouse buttons. On touch devices, this is always just [buttonLeft].

Public FingerIndex: TFingerIndex;

Finger that is moving, on touch devices. If you use mouse, this is always just 0.


Generated by PasDoc 0.16.0.