From 223a612c0c79563047eee80edf3552bcb5e112e1 Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Fri, 23 Dec 2022 17:37:45 +0200
Subject: [iOS] Add Apple Pencil pressure and tilt support.
---
doc/classes/InputEventScreenDrag.xml | 9 +++++++++
1 file changed, 9 insertions(+)
(limited to 'doc')
diff --git a/doc/classes/InputEventScreenDrag.xml b/doc/classes/InputEventScreenDrag.xml
index e5cc522b21..c1d126ca4a 100644
--- a/doc/classes/InputEventScreenDrag.xml
+++ b/doc/classes/InputEventScreenDrag.xml
@@ -13,12 +13,21 @@
The drag event index in the case of a multi-drag event.
+
+ Returns [code]true[/code] when using the eraser end of a stylus pen.
+
The drag position.
+
+ Represents the pressure the user puts on the pen. Ranges from [code]0.0[/code] to [code]1.0[/code].
+
The drag position relative to the previous position (position at the last frame).
+
+ Represents the angles of tilt of the pen. Positive X-coordinate value indicates a tilt to the right. Positive Y-coordinate value indicates a tilt toward the user. Ranges from [code]-1.0[/code] to [code]1.0[/code] for both axes.
+
The drag velocity.
--
cgit v1.2.3