Fix description of touch input position
(cherry picked from commit 0ff396c981
)
This commit is contained in:
parent
527e1d12b0
commit
afc47f93d1
|
@ -17,7 +17,7 @@
|
||||||
Returns [code]true[/code] when using the eraser end of a stylus pen.
|
Returns [code]true[/code] when using the eraser end of a stylus pen.
|
||||||
</member>
|
</member>
|
||||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
||||||
The drag position.
|
The drag position in the viewport the node is in, using the coordinate system of this viewport.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0">
|
<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0">
|
||||||
Represents the pressure the user puts on the pen. Ranges from [code]0.0[/code] to [code]1.0[/code].
|
Represents the pressure the user puts on the pen. Ranges from [code]0.0[/code] to [code]1.0[/code].
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
The touch index in the case of a multi-touch event. One index = one finger.
|
The touch index in the case of a multi-touch event. One index = one finger.
|
||||||
</member>
|
</member>
|
||||||
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
<member name="position" type="Vector2" setter="set_position" getter="get_position" default="Vector2(0, 0)">
|
||||||
The touch position, in screen (global) coordinates.
|
The touch position in the viewport the node is in, using the coordinate system of this viewport.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
|
||||||
If [code]true[/code], the touch's state is pressed. If [code]false[/code], the touch's state is released.
|
If [code]true[/code], the touch's state is pressed. If [code]false[/code], the touch's state is released.
|
||||||
|
|
Loading…
Reference in New Issue