Record TInputMotion
Unit
Declaration
type TInputMotion = record
Description
Motion (movement) of mouse or a finger on a touch device.
Overview
Fields
![]() |
OldPosition: TVector2; |
![]() |
Position: TVector2; |
![]() |
Pressed: TCastleMouseButtons; |
![]() |
FingerIndex: TFingerIndex; |
Description
Fields
![]() |
OldPosition: TVector2; |
|
Old and new positions of the mouse or finger. In the same coordinate system as TInputPressRelease.Position. | |
![]() |
Position: TVector2; |
|
Old and new positions of the mouse or finger. In the same coordinate system as TInputPressRelease.Position. | |
![]() |
Pressed: TCastleMouseButtons; |
|
Currently pressed mouse buttons. On touch devices, this is always just [buttonLeft]. | |
![]() |
FingerIndex: TFingerIndex; |
|
Finger that is moving, on touch devices. If you use mouse, this is always just 0. | |
Generated by PasDoc 0.16.0.
