-
-
Notifications
You must be signed in to change notification settings - Fork 35
InputEventScreenPinch
Federico Ciuffardi edited this page Apr 11, 2022
·
2 revisions
Custom input event type for a pinch.
Type | Name | Description |
---|---|---|
Vector2 | position | Mean of the positions of the involved fingers in the last frame |
float | distance | Distance of the involved fingers to the mean of their positions in the last frame |
float | relative | Change in the distance of the involved fingers to the mean of their positions in the current frame compared to the last frame |
int | fingers | Number of involved fingers |