Record TInputMotion
Unit
Declaration
type TInputMotion = record
Description
Motion (movement) of mouse or a finger on a touch device.
Source: ui/castlekeysmouse.pas (line 955).
Overview
Fields
| Public | OldPosition: TVector2; |
| Public | Position: TVector2; |
| Public | Pressed: TCastleMouseButtons; |
| Public | FingerIndex: TFingerIndex; |
Methods
| Public | function ToString: string; |
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. | |
Methods
| Public | function ToString: string; |
|
Textual description of this event. | |
Generated by PasDoc 0.17.0.snapshot.